#9E8E1E#9E8E1E
#9E8E1E is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.125 H 100.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8E1E |
|---|---|
| RGB | rgb(158, 142, 30) |
| HSL | hsl(53, 68%, 37%) |
| HSV | hsv(53, 81%, 62%) |
| CMYK | cmyk(0%, 10.1%, 81%, 38%) |
| CIE-LAB | lab(58.70, -5.93, 56.62) |
| CIE-LCH | lch(58.70, 56.93, 95.98°) |
| OKLab | oklab(64.2% -0.0229 0.1226) |
| OKLCH | oklch(64.2% 0.125 100.6) |
| XYZ | xyz(24.0091, 26.7100, 5.1190) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.88
Baby Shit Brown
#AD900D
ΔE00 4.31
Dark Mustard
#A88905
ΔE00 4.70
Diarrhea
#9F8303
ΔE00 4.85
Brown Yellow
#B29705
ΔE00 5.23
Yellowy Brown
#AE8B0C
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8E1E #1E2E9E
analogous
#9E4E1E #9E8E1E #6E9E1E
triadic
#9E8E1E #1E9E8E #8E1E9E
tetradic
#9E8E1E #1E9E4E #1E2E9E #9E1E6E
square
#9E8E1E #1E9E4E #1E2E9E #9E1E6E
split-complementary
#9E8E1E #1E6E9E #4E1E9E
monochromatic
#37320A #6B6014 #9E8E1E #D1BC28 #DFCE57
Accessibility & contrast
On white
3.31
#9E8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#9E8E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8E1E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8E1E | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#AB8379
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8e1e; /* rgb */ color: rgb(158, 142, 30); /* oklch */ color: oklch(64.2% 0.125 100.6);
Tailwind
colors: {
custom: {
50: '#bfae65',
500: '#9e8e1e',
950: '#000000',
},
}SCSS
$custom: #9e8e1e; $custom-light: #bfae65; $custom-dark: #000000;
JSON
{
"hex": "#9e8e1e",
"rgb": {
"r": 158,
"g": 142,
"b": 30
},
"hsl": {
"h": 52.5,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.642,
"c": 0.12473,
"h": 100.6
},
"luminance": 0.26709
}Semantic roles & 50–950 ramp
primary
#9E8E1E
secondary
#5563C3
accent
#53EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A