#9E8D2E#9E8D2E
#9E8D2E is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.114 H 98.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8D2E |
|---|---|
| RGB | rgb(158, 141, 46) |
| HSL | hsl(51, 55%, 40%) |
| HSV | hsv(51, 71%, 62%) |
| CMYK | cmyk(0%, 10.8%, 70.9%, 38%) |
| CIE-LAB | lab(58.52, -4.67, 50.60) |
| CIE-LCH | lch(58.52, 50.81, 95.28°) |
| OKLab | oklab(64.09% -0.0177 0.113) |
| OKLCH | oklch(64.09% 0.114 98.9) |
| XYZ | xyz(24.1197, 26.5173, 6.4321) |
| Luminance | 0.2652 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.75
Baby Shit Brown
#AD900D
ΔE00 4.93
Diarrhea
#9F8303
ΔE00 4.99
Dark Mustard
#A88905
ΔE00 5.02
Yellowy Brown
#AE8B0C
ΔE00 5.93
Brown Yellow
#B29705
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8D2E #2E3F9E
analogous
#9E552E #9E8D2E #779E2E
triadic
#9E8D2E #2E9E8D #8D2E9E
tetradic
#9E8D2E #2E9E55 #2E3F9E #9E2E77
square
#9E8D2E #2E9E55 #2E3F9E #9E2E77
split-complementary
#9E8D2E #2E779E #552E9E
monochromatic
#3F3812 #6F6320 #9E8D2E #C8B341 #D6C671
Accessibility & contrast
On white
3.33
#9E8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#9E8D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8D2E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8D2E | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#AA837A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8d2e; /* rgb */ color: rgb(158, 141, 46); /* oklch */ color: oklch(64.1% 0.114 98.9);
Tailwind
colors: {
custom: {
50: '#beae6d',
500: '#9e8d2e',
950: '#000000',
},
}SCSS
$custom: #9e8d2e; $custom-light: #beae6d; $custom-dark: #000000;
JSON
{
"hex": "#9e8d2e",
"rgb": {
"r": 158,
"g": 141,
"b": 46
},
"hsl": {
"h": 50.893,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.64088,
"c": 0.11435,
"h": 98.9
},
"luminance": 0.26516
}Semantic roles & 50–950 ramp
primary
#9E8D2E
secondary
#6B77BD
accent
#60DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A