#947E17#947E17
#947E17 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.116 H 95.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #947E17 |
|---|---|
| RGB | rgb(148, 126, 23) |
| HSL | hsl(49, 73%, 34%) |
| HSV | hsv(49, 84%, 58%) |
| CMYK | cmyk(0%, 14.9%, 84.5%, 42%) |
| CIE-LAB | lab(53.26, -1.97, 53.63) |
| CIE-LCH | lch(53.26, 53.66, 92.10°) |
| OKLab | oklab(59.64% -0.0118 0.1152) |
| OKLCH | oklch(59.64% 0.116 95.9) |
| XYZ | xyz(19.8294, 21.2806, 3.8736) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.44
Puke Brown
#947706
ΔE00 3.14
Hazel
#8E7618
ΔE00 3.15
Diarrhea
#9F8303
ΔE00 3.26
Yellowish Brown
#9B7A01
ΔE00 3.60
Poo
#8F7303
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947E17 #172D94
analogous
#943F17 #947E17 #6B9417
triadic
#947E17 #17947E #7E1794
tetradic
#947E17 #17943F #172D94 #94176B
square
#947E17 #17943F #172D94 #94176B
split-complementary
#947E17 #176B94 #3F1794
monochromatic
#2A2407 #5F510F #947E17 #C9AB1F #E2C644
Accessibility & contrast
On white
4.00
#947E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#947E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947E17
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947E17 | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#92821F
Tritanopia (blue-blind)
#A1736B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #947e17; /* rgb */ color: rgb(148, 126, 23); /* oklch */ color: oklch(59.6% 0.116 95.9);
Tailwind
colors: {
custom: {
50: '#b8a35f',
500: '#947e17',
950: '#000000',
},
}SCSS
$custom: #947e17; $custom-light: #b8a35f; $custom-dark: #000000;
JSON
{
"hex": "#947e17",
"rgb": {
"r": 148,
"g": 126,
"b": 23
},
"hsl": {
"h": 49.44,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.59641,
"c": 0.11581,
"h": 95.9
},
"luminance": 0.21279
}Semantic roles & 50–950 ramp
primary
#947E17
secondary
#445AC3
accent
#58F038
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120F05
muted
#817E79