#947C17#947C17
#947C17 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.115 H 94.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #947C17 |
|---|---|
| RGB | rgb(148, 124, 23) |
| HSL | hsl(48, 73%, 34%) |
| HSV | hsv(48, 84%, 58%) |
| CMYK | cmyk(0%, 16.2%, 84.5%, 42%) |
| CIE-LAB | lab(52.70, -0.85, 53.15) |
| CIE-LCH | lch(52.70, 53.16, 90.91°) |
| OKLab | oklab(59.2% -0.0086 0.1142) |
| OKLCH | oklch(59.2% 0.115 94.3) |
| XYZ | xyz(19.5762, 20.7742, 3.7892) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.50
Puke Brown
#947706
ΔE00 2.29
Hazel
#8E7618
ΔE00 2.42
Yellowish Brown
#9B7A01
ΔE00 2.96
Poo
#8F7303
ΔE00 3.46
Diarrhea
#9F8303
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947C17 #172F94
analogous
#943D17 #947C17 #6D9417
triadic
#947C17 #17947C #7C1794
tetradic
#947C17 #17943D #172F94 #94176D
square
#947C17 #17943D #172F94 #94176D
split-complementary
#947C17 #176D94 #3D1794
monochromatic
#2A2307 #5F500F #947C17 #C9A81F #E2C344
Accessibility & contrast
On white
4.07
#947C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#947C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947C17
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947C17 | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#90811F
Tritanopia (blue-blind)
#A1716A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #947c17; /* rgb */ color: rgb(148, 124, 23); /* oklch */ color: oklch(59.2% 0.115 94.3);
Tailwind
colors: {
custom: {
50: '#b8a15f',
500: '#947c17',
950: '#000000',
},
}SCSS
$custom: #947c17; $custom-light: #b8a15f; $custom-dark: #000000;
JSON
{
"hex": "#947c17",
"rgb": {
"r": 148,
"g": 124,
"b": 23
},
"hsl": {
"h": 48.48,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.59203,
"c": 0.1145,
"h": 94.3
},
"luminance": 0.20773
}Semantic roles & 50–950 ramp
primary
#947C17
secondary
#445CC3
accent
#5BF038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79