#9E8B1E#9E8B1E
#9E8B1E is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.122 H 98.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8B1E |
|---|---|
| RGB | rgb(158, 139, 30) |
| HSL | hsl(51, 68%, 37%) |
| HSV | hsv(51, 81%, 62%) |
| CMYK | cmyk(0%, 12%, 81%, 38%) |
| CIE-LAB | lab(57.87, -4.30, 55.88) |
| CIE-LCH | lch(57.87, 56.05, 94.40°) |
| OKLab | oklab(63.54% -0.0183 0.121) |
| OKLCH | oklch(63.54% 0.122 98.6) |
| XYZ | xyz(23.5687, 25.8293, 4.9722) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.67
Baby Poo
#AB9004
ΔE00 3.70
Dark Mustard
#A88905
ΔE00 3.82
Baby Shit Brown
#AD900D
ΔE00 4.02
Yellowy Brown
#AE8B0C
ΔE00 5.00
Baby Poop
#937C00
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8B1E #1E319E
analogous
#9E4B1E #9E8B1E #719E1E
triadic
#9E8B1E #1E9E8B #8B1E9E
tetradic
#9E8B1E #1E9E4B #1E319E #9E1E71
square
#9E8B1E #1E9E4B #1E319E #9E1E71
split-complementary
#9E8B1E #1E719E #4B1E9E
monochromatic
#37310A #6B5E14 #9E8B1E #D1B828 #DFCB57
Accessibility & contrast
On white
3.41
#9E8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#9E8B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8B1E
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8B1E | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#AB8077
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8b1e; /* rgb */ color: rgb(158, 139, 30); /* oklch */ color: oklch(63.5% 0.122 98.6);
Tailwind
colors: {
custom: {
50: '#bfac64',
500: '#9e8b1e',
950: '#000000',
},
}SCSS
$custom: #9e8b1e; $custom-light: #bfac64; $custom-dark: #000000;
JSON
{
"hex": "#9e8b1e",
"rgb": {
"r": 158,
"g": 139,
"b": 30
},
"hsl": {
"h": 51.094,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.63541,
"c": 0.12241,
"h": 98.6
},
"luminance": 0.25828
}Semantic roles & 50–950 ramp
primary
#9E8B1E
secondary
#5565C3
accent
#57EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A