#917E1D#917E1D
#917E1D is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.113 H 97.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #917E1D |
|---|---|
| RGB | rgb(145, 126, 29) |
| HSL | hsl(50, 67%, 34%) |
| HSV | hsv(50, 80%, 57%) |
| CMYK | cmyk(0%, 13.1%, 80%, 43.1%) |
| CIE-LAB | lab(52.98, -3.15, 51.35) |
| CIE-LCH | lch(52.98, 51.45, 93.51°) |
| OKLab | oklab(59.37% -0.0145 0.1117) |
| OKLCH | oklch(59.37% 0.113 97.4) |
| XYZ | xyz(19.3607, 21.0312, 4.2018) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.23
Hazel
#8E7618
ΔE00 3.21
Puke Brown
#947706
ΔE00 3.86
Diarrhea
#9F8303
ΔE00 4.23
Yellowish Brown
#9B7A01
ΔE00 4.62
Poo
#8F7303
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917E1D #1D3091
analogous
#91441D #917E1D #6A911D
triadic
#917E1D #1D917E #7E1D91
tetradic
#917E1D #1D9144 #1D3091 #911D6A
square
#917E1D #1D9144 #1D3091 #911D6A
split-complementary
#917E1D #1D6A91 #441D91
monochromatic
#2B2509 #5E5213 #917E1D #C4AA27 #DBC44D
Accessibility & contrast
On white
4.03
#917E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#917E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917E1D
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917E1D | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#9D746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #917e1d; /* rgb */ color: rgb(145, 126, 29); /* oklch */ color: oklch(59.4% 0.113 97.4);
Tailwind
colors: {
custom: {
50: '#b5a362',
500: '#917e1d',
950: '#000000',
},
}SCSS
$custom: #917e1d; $custom-light: #b5a362; $custom-dark: #000000;
JSON
{
"hex": "#917e1d",
"rgb": {
"r": 145,
"g": 126,
"b": 29
},
"hsl": {
"h": 50.172,
"s": 66.667,
"l": 34.118
},
"oklch": {
"l": 0.59365,
"c": 0.11266,
"h": 97.4
},
"luminance": 0.2103
}Semantic roles & 50–950 ramp
primary
#917E1D
secondary
#4C5FBE
accent
#5AEA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A