#9E8D1E#9E8D1E
#9E8D1E is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.124 H 99.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8D1E |
|---|---|
| RGB | rgb(158, 141, 30) |
| HSL | hsl(52, 68%, 37%) |
| HSV | hsv(52, 81%, 62%) |
| CMYK | cmyk(0%, 10.8%, 81%, 38%) |
| CIE-LAB | lab(58.43, -5.39, 56.37) |
| CIE-LCH | lch(58.43, 56.63, 95.46°) |
| OKLab | oklab(63.98% -0.0214 0.1221) |
| OKLCH | oklch(63.98% 0.124 99.9) |
| XYZ | xyz(23.8610, 26.4138, 5.0696) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.77
Baby Shit Brown
#AD900D
ΔE00 4.17
Dark Mustard
#A88905
ΔE00 4.39
Diarrhea
#9F8303
ΔE00 4.45
Brown Yellow
#B29705
ΔE00 5.29
Yellowy Brown
#AE8B0C
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8D1E #1E2F9E
analogous
#9E4D1E #9E8D1E #6F9E1E
triadic
#9E8D1E #1E9E8D #8D1E9E
tetradic
#9E8D1E #1E9E4D #1E2F9E #9E1E6F
square
#9E8D1E #1E9E4D #1E2F9E #9E1E6F
split-complementary
#9E8D1E #1E6F9E #4D1E9E
monochromatic
#37310A #6B5F14 #9E8D1E #D1BB28 #DFCD57
Accessibility & contrast
On white
3.34
#9E8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#9E8D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8D1E
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8D1E | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9e8d1e; /* rgb */ color: rgb(158, 141, 30); /* oklch */ color: oklch(64.0% 0.124 99.9);
Tailwind
colors: {
custom: {
50: '#bfae65',
500: '#9e8d1e',
950: '#000000',
},
}SCSS
$custom: #9e8d1e; $custom-light: #bfae65; $custom-dark: #000000;
JSON
{
"hex": "#9e8d1e",
"rgb": {
"r": 158,
"g": 141,
"b": 30
},
"hsl": {
"h": 52.031,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.6398,
"c": 0.12395,
"h": 99.9
},
"luminance": 0.26413
}Semantic roles & 50–950 ramp
primary
#9E8D1E
secondary
#5564C3
accent
#54EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A