#917E2F#917E2F
#917E2F is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.101 H 95.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #917E2F |
|---|---|
| RGB | rgb(145, 126, 47) |
| HSL | hsl(48, 51%, 38%) |
| HSV | hsv(48, 68%, 57%) |
| CMYK | cmyk(0%, 13.1%, 67.6%, 43.1%) |
| CIE-LAB | lab(53.11, -2.23, 44.18) |
| CIE-LCH | lch(53.11, 44.24, 92.89°) |
| OKLab | oklab(59.51% -0.0098 0.1) |
| OKLCH | oklch(59.51% 0.101 95.6) |
| XYZ | xyz(19.6519, 21.1477, 5.7356) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.67
Baby Poop
#937C00
ΔE00 4.26
Puke Brown
#947706
ΔE00 4.84
Poo
#8F7303
ΔE00 5.48
Yellowish Brown
#9B7A01
ΔE00 5.59
Diarrhea
#9F8303
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917E2F #2F4291
analogous
#914D2F #917E2F #73912F
triadic
#917E2F #2F917E #7E2F91
tetradic
#917E2F #2F914D #2F4291 #912F73
square
#917E2F #2F914D #2F4291 #912F73
split-complementary
#917E2F #2F7391 #4D2F91
monochromatic
#352E11 #635620 #917E2F #BFA63E #CFBC6B
Accessibility & contrast
On white
4.02
#917E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#917E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917E2F
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917E2F | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B25
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#9C746D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #917e2f; /* rgb */ color: rgb(145, 126, 47); /* oklch */ color: oklch(59.5% 0.101 95.6);
Tailwind
colors: {
custom: {
50: '#b4a36c',
500: '#917e2f',
950: '#000000',
},
}SCSS
$custom: #917e2f; $custom-light: #b4a36c; $custom-dark: #000000;
JSON
{
"hex": "#917e2f",
"rgb": {
"r": 145,
"g": 126,
"b": 47
},
"hsl": {
"h": 48.367,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.59506,
"c": 0.1005,
"h": 95.6
},
"luminance": 0.21147
}Semantic roles & 50–950 ramp
primary
#917E2F
secondary
#6575B6
accent
#69DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A