#948017 color

#948017 rgb(148, 128, 23)
Shades of yellow

The hex color #948017 is a dark, moderate yellow.

In the RGB color model it is made of 58% red, 50.2% green and 9% blue (148, 128, 23).

Its hue angle is 50°, with 73% saturation and 34% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 84% yellow and 42% black.

The closest named color is Captain Kirk (#9B870C), a difference of 2.9 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.36:1).

#948017 color codes

HEX#948017
RGBrgb(148, 128, 23)
RGB percentrgb(58%, 50.2%, 9%)
HSLhsl(50, 73%, 34%)
HSV / HSBhsv(50, 84%, 58%)
CMYKcmyk(0%, 14%, 84%, 42%)
CIE LABlab(53.81, -3.08, 54.1)
CIE LCHlch(53.81, 54.19, 93.26)
CIE XYZxyz(20.088, 21.797, 3.96)
Decimal9732119
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #948017, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #948017RatioAAAAAAA large
Sample text5.36:1PassFailPass
Sample text3.92:1FailFailPass
#948017 as text onRatioAAAAAAA large
Sample text3.92:1FailFailPass
Sample text5.36:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #948017 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #948017; }
.text { color: #948017; }
.border { border: 2px solid #948017; }
.transparent { background-color: rgb(148 128 23 / 50%); }
.gradient { background: linear-gradient(to right, #948017, #6a9417); }
Background
Text color
Border

Similar colors

Questions

What color is #948017?
#948017 is a dark, moderate yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
What is the RGB value of #948017?
The RGB value is 148, 128, 23: 148 red, 128 green and 23 blue on a 0 to 255 scale.
What is the complementary color of #948017?
The complementary color is #172B94, found by rotating the hue 180° on the color wheel.
Is black or white text better on #948017?
Black text. Black text has a contrast ratio of 5.36:1 and white text 3.92:1. WCAG asks for at least 4.5:1 for normal text.