#9E8A1E#9E8A1E
#9E8A1E is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.122 H 97.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A1E |
|---|---|
| RGB | rgb(158, 138, 30) |
| HSL | hsl(51, 68%, 37%) |
| HSV | hsv(51, 81%, 62%) |
| CMYK | cmyk(0%, 12.7%, 81%, 38%) |
| CIE-LAB | lab(57.60, -3.75, 55.64) |
| CIE-LCH | lch(57.60, 55.77, 93.86°) |
| OKLab | oklab(63.32% -0.0168 0.1205) |
| OKLCH | oklch(63.32% 0.122 97.9) |
| XYZ | xyz(23.4246, 25.5410, 4.9241) |
| Luminance | 0.2554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.29
Dark Mustard
#A88905
ΔE00 3.57
Baby Poo
#AB9004
ΔE00 3.74
Baby Shit Brown
#AD900D
ΔE00 4.00
Yellowy Brown
#AE8B0C
ΔE00 4.79
Baby Poop
#937C00
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A1E #1E329E
analogous
#9E4A1E #9E8A1E #729E1E
triadic
#9E8A1E #1E9E8A #8A1E9E
tetradic
#9E8A1E #1E9E4A #1E329E #9E1E72
square
#9E8A1E #1E9E4A #1E329E #9E1E72
split-complementary
#9E8A1E #1E729E #4A1E9E
monochromatic
#37300A #6B5D14 #9E8A1E #D1B728 #DFCA57
Accessibility & contrast
On white
3.44
#9E8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9E8A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A1E
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A1E | 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)
#998600
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a1e; /* rgb */ color: rgb(158, 138, 30); /* oklch */ color: oklch(63.3% 0.122 97.9);
Tailwind
colors: {
custom: {
50: '#bfab64',
500: '#9e8a1e',
950: '#000000',
},
}SCSS
$custom: #9e8a1e; $custom-light: #bfab64; $custom-dark: #000000;
JSON
{
"hex": "#9e8a1e",
"rgb": {
"r": 158,
"g": 138,
"b": 30
},
"hsl": {
"h": 50.625,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.63323,
"c": 0.12166,
"h": 97.9
},
"luminance": 0.2554
}Semantic roles & 50–950 ramp
primary
#9E8A1E
secondary
#5566C3
accent
#58EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A