#917C2F#917C2F
#917C2F is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.1% C 0.099 H 93.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #917C2F |
|---|---|
| RGB | rgb(145, 124, 47) |
| HSL | hsl(47, 51%, 38%) |
| HSV | hsv(47, 68%, 57%) |
| CMYK | cmyk(0%, 14.5%, 67.6%, 43.1%) |
| CIE-LAB | lab(52.55, -1.11, 43.59) |
| CIE-LCH | lch(52.55, 43.61, 91.46°) |
| OKLab | oklab(59.07% -0.0066 0.0988) |
| OKLCH | oklch(59.07% 0.099 93.8) |
| XYZ | xyz(19.3987, 20.6413, 5.6512) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.16
Baby Poop
#937C00
ΔE00 4.38
Puke Brown
#947706
ΔE00 4.42
Poo
#8F7303
ΔE00 4.93
Yellowish Brown
#9B7A01
ΔE00 5.26
Diarrhea
#9F8303
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917C2F #2F4491
analogous
#914B2F #917C2F #75912F
triadic
#917C2F #2F917C #7C2F91
tetradic
#917C2F #2F914B #2F4491 #912F75
square
#917C2F #2F914B #2F4491 #912F75
split-complementary
#917C2F #2F7591 #4B2F91
monochromatic
#352D11 #635420 #917C2F #BFA43E #CFBA6B
Accessibility & contrast
On white
4.10
#917C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#917C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917C2F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917C2F | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#9D726C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #917c2f; /* rgb */ color: rgb(145, 124, 47); /* oklch */ color: oklch(59.1% 0.099 93.8);
Tailwind
colors: {
custom: {
50: '#b4a16b',
500: '#917c2f',
950: '#000000',
},
}SCSS
$custom: #917c2f; $custom-light: #b4a16b; $custom-dark: #000000;
JSON
{
"hex": "#917c2f",
"rgb": {
"r": 145,
"g": 124,
"b": 47
},
"hsl": {
"h": 47.143,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.59066,
"c": 0.099,
"h": 93.8
},
"luminance": 0.2064
}Semantic roles & 50–950 ramp
primary
#917C2F
secondary
#6577B6
accent
#6CDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A