#9E8822#9E8822
#9E8822 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.118 H 96.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8822 |
|---|---|
| RGB | rgb(158, 136, 34) |
| HSL | hsl(49, 65%, 38%) |
| HSV | hsv(49, 78%, 62%) |
| CMYK | cmyk(0%, 13.9%, 78.5%, 38%) |
| CIE-LAB | lab(57.07, -2.50, 53.81) |
| CIE-LCH | lch(57.07, 53.87, 92.66°) |
| OKLab | oklab(62.91% -0.0128 0.1174) |
| OKLCH | oklch(62.91% 0.118 96.2) |
| XYZ | xyz(23.1947, 24.9942, 5.1157) |
| Luminance | 0.2499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.77
Dark Mustard
#A88905
ΔE00 3.39
Baby Poo
#AB9004
ΔE00 4.19
Baby Shit Brown
#AD900D
ΔE00 4.30
Baby Poop
#937C00
ΔE00 4.50
Yellowy Brown
#AE8B0C
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8822 #22389E
analogous
#9E4A22 #9E8822 #769E22
triadic
#9E8822 #229E88 #88229E
tetradic
#9E8822 #229E4A #22389E #9E2276
square
#9E8822 #229E4A #22389E #9E2276
split-complementary
#9E8822 #22769E #4A229E
monochromatic
#39310C #6C5D17 #9E8822 #D0B32D #DCC65E
Accessibility & contrast
On white
3.50
#9E8822 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#9E8822 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8822
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8822 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#AB7D75
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9e8822; /* rgb */ color: rgb(158, 136, 34); /* oklch */ color: oklch(62.9% 0.118 96.2);
Tailwind
colors: {
custom: {
50: '#bfaa66',
500: '#9e8822',
950: '#000000',
},
}SCSS
$custom: #9e8822; $custom-light: #bfaa66; $custom-dark: #000000;
JSON
{
"hex": "#9e8822",
"rgb": {
"r": 158,
"g": 136,
"b": 34
},
"hsl": {
"h": 49.355,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.62911,
"c": 0.11812,
"h": 96.2
},
"luminance": 0.24993
}Semantic roles & 50–950 ramp
primary
#9E8822
secondary
#5B6DC1
accent
#5EE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A