#917D2F#917D2F
#917D2F is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.100 H 94.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #917D2F |
|---|---|
| RGB | rgb(145, 125, 47) |
| HSL | hsl(48, 51%, 38%) |
| HSV | hsv(48, 68%, 57%) |
| CMYK | cmyk(0%, 13.8%, 67.6%, 43.1%) |
| CIE-LAB | lab(52.83, -1.67, 43.89) |
| CIE-LCH | lch(52.83, 43.92, 92.18°) |
| OKLab | oklab(59.29% -0.0082 0.0994) |
| OKLCH | oklch(59.29% 0.1 94.7) |
| XYZ | xyz(19.5247, 20.8932, 5.6931) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.39
Baby Poop
#937C00
ΔE00 4.29
Puke Brown
#947706
ΔE00 4.61
Poo
#8F7303
ΔE00 5.19
Yellowish Brown
#9B7A01
ΔE00 5.41
Diarrhea
#9F8303
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917D2F #2F4391
analogous
#914C2F #917D2F #74912F
triadic
#917D2F #2F917D #7D2F91
tetradic
#917D2F #2F914C #2F4391 #912F74
square
#917D2F #2F914C #2F4391 #912F74
split-complementary
#917D2F #2F7491 #4C2F91
monochromatic
#352D11 #635520 #917D2F #BFA53E #CFBB6B
Accessibility & contrast
On white
4.06
#917D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#917D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917D2F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917D2F | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#9C736D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #917d2f; /* rgb */ color: rgb(145, 125, 47); /* oklch */ color: oklch(59.3% 0.100 94.7);
Tailwind
colors: {
custom: {
50: '#b4a26c',
500: '#917d2f',
950: '#000000',
},
}SCSS
$custom: #917d2f; $custom-light: #b4a26c; $custom-dark: #000000;
JSON
{
"hex": "#917d2f",
"rgb": {
"r": 145,
"g": 125,
"b": 47
},
"hsl": {
"h": 47.755,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.59286,
"c": 0.09974,
"h": 94.7
},
"luminance": 0.20892
}Semantic roles & 50–950 ramp
primary
#917D2F
secondary
#6576B6
accent
#6ADB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A