#917E22#917E22
#917E22 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 97.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #917E22 |
|---|---|
| RGB | rgb(145, 126, 34) |
| HSL | hsl(50, 62%, 35%) |
| HSV | hsv(50, 77%, 57%) |
| CMYK | cmyk(0%, 13.1%, 76.6%, 43.1%) |
| CIE-LAB | lab(53.01, -2.94, 49.56) |
| CIE-LCH | lch(53.01, 49.65, 93.39°) |
| OKLab | oklab(59.4% -0.0133 0.109) |
| OKLCH | oklch(59.4% 0.11 97) |
| XYZ | xyz(19.4276, 21.0580, 4.5544) |
| Luminance | 0.2106 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.68
Hazel
#8E7618
ΔE00 3.18
Puke Brown
#947706
ΔE00 4.00
Diarrhea
#9F8303
ΔE00 4.51
Yellowish Brown
#9B7A01
ΔE00 4.78
Poo
#8F7303
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917E22 #223591
analogous
#914722 #917E22 #6C9122
triadic
#917E22 #22917E #7E2291
tetradic
#917E22 #229147 #223591 #91226C
square
#917E22 #229147 #223591 #91226C
split-complementary
#917E22 #226C91 #472291
monochromatic
#2E280B #5F5316 #917E22 #C3A92E #D7C156
Accessibility & contrast
On white
4.03
#917E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#917E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917E22
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917E22 | 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)
#8B7B11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#9D746C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #917e22; /* rgb */ color: rgb(145, 126, 34); /* oklch */ color: oklch(59.4% 0.110 97.0);
Tailwind
colors: {
custom: {
50: '#b5a364',
500: '#917e22',
950: '#000000',
},
}SCSS
$custom: #917e22; $custom-light: #b5a364; $custom-dark: #000000;
JSON
{
"hex": "#917e22",
"rgb": {
"r": 145,
"g": 126,
"b": 34
},
"hsl": {
"h": 49.73,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.59397,
"c": 0.10976,
"h": 97
},
"luminance": 0.21057
}Semantic roles & 50–950 ramp
primary
#917E22
secondary
#5365BB
accent
#5FE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A