#9E8A2E#9E8A2E
#9E8A2E is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.112 H 96.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A2E |
|---|---|
| RGB | rgb(158, 138, 46) |
| HSL | hsl(49, 55%, 40%) |
| HSV | hsv(49, 71%, 62%) |
| CMYK | cmyk(0%, 12.7%, 70.9%, 38%) |
| CIE-LAB | lab(57.70, -3.03, 49.76) |
| CIE-LCH | lch(57.70, 49.86, 93.49°) |
| OKLab | oklab(63.43% -0.013 0.1112) |
| OKLCH | oklch(63.43% 0.112 96.7) |
| XYZ | xyz(23.6833, 25.6445, 6.2867) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.13
Dark Mustard
#A88905
ΔE00 4.45
Baby Poo
#AB9004
ΔE00 4.86
Baby Shit Brown
#AD900D
ΔE00 4.91
Yellowy Brown
#AE8B0C
ΔE00 5.37
Baby Poop
#937C00
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A2E #2E429E
analogous
#9E522E #9E8A2E #7A9E2E
triadic
#9E8A2E #2E9E8A #8A2E9E
tetradic
#9E8A2E #2E9E52 #2E429E #9E2E7A
square
#9E8A2E #2E9E52 #2E429E #9E2E7A
split-complementary
#9E8A2E #2E7A9E #522E9E
monochromatic
#3F3712 #6F6120 #9E8A2E #C8B041 #D6C471
Accessibility & contrast
On white
3.43
#9E8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#9E8A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A2E
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A2E | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#AB7F77
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a2e; /* rgb */ color: rgb(158, 138, 46); /* oklch */ color: oklch(63.4% 0.112 96.7);
Tailwind
colors: {
custom: {
50: '#beab6c',
500: '#9e8a2e',
950: '#000000',
},
}SCSS
$custom: #9e8a2e; $custom-light: #beab6c; $custom-dark: #000000;
JSON
{
"hex": "#9e8a2e",
"rgb": {
"r": 158,
"g": 138,
"b": 46
},
"hsl": {
"h": 49.286,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.63433,
"c": 0.11197,
"h": 96.7
},
"luminance": 0.25643
}Semantic roles & 50–950 ramp
primary
#9E8A2E
secondary
#6B79BD
accent
#64DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A