#917D2B#917D2B
#917D2B is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.103 H 95.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #917D2B |
|---|---|
| RGB | rgb(145, 125, 43) |
| HSL | hsl(48, 54%, 37%) |
| HSV | hsv(48, 70%, 57%) |
| CMYK | cmyk(0%, 13.8%, 70.3%, 43.1%) |
| CIE-LAB | lab(52.80, -1.91, 45.65) |
| CIE-LCH | lch(52.80, 45.69, 92.40°) |
| OKLab | oklab(59.25% -0.0094 0.1024) |
| OKLCH | oklch(59.25% 0.103 95.2) |
| XYZ | xyz(19.4477, 20.8624, 5.2875) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.08
Baby Poop
#937C00
ΔE00 3.72
Puke Brown
#947706
ΔE00 4.23
Poo
#8F7303
ΔE00 4.87
Yellowish Brown
#9B7A01
ΔE00 5.06
Diarrhea
#9F8303
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917D2B #2B3F91
analogous
#914A2B #917D2B #72912B
triadic
#917D2B #2B917D #7D2B91
tetradic
#917D2B #2B914A #2B3F91 #912B72
square
#917D2B #2B914A #2B3F91 #912B72
split-complementary
#917D2B #2B7291 #4A2B91
monochromatic
#332C0F #62541D #917D2B #C0A639 #D1BC65
Accessibility & contrast
On white
4.06
#917D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#917D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917D2B
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917D2B | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#9D736C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #917d2b; /* rgb */ color: rgb(145, 125, 43); /* oklch */ color: oklch(59.2% 0.103 95.2);
Tailwind
colors: {
custom: {
50: '#b4a269',
500: '#917d2b',
950: '#000000',
},
}SCSS
$custom: #917d2b; $custom-light: #b4a269; $custom-dark: #000000;
JSON
{
"hex": "#917d2b",
"rgb": {
"r": 145,
"g": 125,
"b": 43
},
"hsl": {
"h": 48.235,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.59248,
"c": 0.10286,
"h": 95.2
},
"luminance": 0.20861
}Semantic roles & 50–950 ramp
primary
#917D2B
secondary
#6071B8
accent
#67DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A