#9E8A22#9E8A22
#9E8A22 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.120 H 97.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A22 |
|---|---|
| RGB | rgb(158, 138, 34) |
| HSL | hsl(50, 65%, 38%) |
| HSV | hsv(50, 78%, 62%) |
| CMYK | cmyk(0%, 12.7%, 78.5%, 38%) |
| CIE-LAB | lab(57.62, -3.60, 54.32) |
| CIE-LCH | lch(57.62, 54.44, 93.79°) |
| OKLab | oklab(63.35% -0.0159 0.1185) |
| OKLCH | oklch(63.35% 0.12 97.7) |
| XYZ | xyz(23.4790, 25.5628, 5.2105) |
| Luminance | 0.2556 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.42
Dark Mustard
#A88905
ΔE00 3.72
Baby Poo
#AB9004
ΔE00 3.95
Baby Shit Brown
#AD900D
ΔE00 4.16
Yellowy Brown
#AE8B0C
ΔE00 4.87
Baby Poop
#937C00
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A22 #22369E
analogous
#9E4C22 #9E8A22 #749E22
triadic
#9E8A22 #229E8A #8A229E
tetradic
#9E8A22 #229E4C #22369E #9E2274
square
#9E8A22 #229E4C #22369E #9E2274
split-complementary
#9E8A22 #22749E #4C229E
monochromatic
#39320C #6C5E17 #9E8A22 #D0B62D #DCC85E
Accessibility & contrast
On white
3.44
#9E8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9E8A22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A22
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A22 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870B
Deuteranopia (green-blind)
#9E8D29
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a22; /* rgb */ color: rgb(158, 138, 34); /* oklch */ color: oklch(63.3% 0.120 97.7);
Tailwind
colors: {
custom: {
50: '#bfab66',
500: '#9e8a22',
950: '#000000',
},
}SCSS
$custom: #9e8a22; $custom-light: #bfab66; $custom-dark: #000000;
JSON
{
"hex": "#9e8a22",
"rgb": {
"r": 158,
"g": 138,
"b": 34
},
"hsl": {
"h": 50.323,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.63346,
"c": 0.11957,
"h": 97.7
},
"luminance": 0.25562
}Semantic roles & 50–950 ramp
primary
#9E8A22
secondary
#5B6BC1
accent
#5BE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A