#9E8922#9E8922
#9E8922 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.119 H 97.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8922 |
|---|---|
| RGB | rgb(158, 137, 34) |
| HSL | hsl(50, 65%, 38%) |
| HSV | hsv(50, 78%, 62%) |
| CMYK | cmyk(0%, 13.3%, 78.5%, 38%) |
| CIE-LAB | lab(57.34, -3.05, 54.07) |
| CIE-LCH | lch(57.34, 54.15, 93.23°) |
| OKLab | oklab(63.13% -0.0144 0.118) |
| OKLCH | oklch(63.13% 0.119 97) |
| XYZ | xyz(23.3362, 25.2772, 5.1629) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.08
Dark Mustard
#A88905
ΔE00 3.53
Baby Poo
#AB9004
ΔE00 4.05
Baby Shit Brown
#AD900D
ΔE00 4.21
Yellowy Brown
#AE8B0C
ΔE00 4.70
Baby Poop
#937C00
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8922 #22379E
analogous
#9E4B22 #9E8922 #759E22
triadic
#9E8922 #229E89 #89229E
tetradic
#9E8922 #229E4B #22379E #9E2275
square
#9E8922 #229E4B #22379E #9E2275
split-complementary
#9E8922 #22759E #4B229E
monochromatic
#39320C #6C5D17 #9E8922 #D0B52D #DCC75E
Accessibility & contrast
On white
3.47
#9E8922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#9E8922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8922
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8922 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#AB7E75
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8922; /* rgb */ color: rgb(158, 137, 34); /* oklch */ color: oklch(63.1% 0.119 97.0);
Tailwind
colors: {
custom: {
50: '#bfab66',
500: '#9e8922',
950: '#000000',
},
}SCSS
$custom: #9e8922; $custom-light: #bfab66; $custom-dark: #000000;
JSON
{
"hex": "#9e8922",
"rgb": {
"r": 158,
"g": 137,
"b": 34
},
"hsl": {
"h": 49.839,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.63128,
"c": 0.11883,
"h": 97
},
"luminance": 0.25276
}Semantic roles & 50–950 ramp
primary
#9E8922
secondary
#5B6CC1
accent
#5DE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A