#9E8A4E#9E8A4E
#9E8A4E is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.8% C 0.083 H 91.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A4E |
|---|---|
| RGB | rgb(158, 138, 78) |
| HSL | hsl(45, 34%, 46%) |
| HSV | hsv(45, 51%, 62%) |
| CMYK | cmyk(0%, 12.7%, 50.6%, 38%) |
| CIE-LAB | lab(58.03, -0.62, 34.69) |
| CIE-LCH | lch(58.03, 34.70, 91.03°) |
| OKLab | oklab(63.81% -0.0022 0.083) |
| OKLCH | oklch(63.81% 0.083 91.5) |
| XYZ | xyz(24.5650, 25.9972, 10.9303) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.02
Dark Sand
#A88F59
ΔE00 3.22
Dark Beige
#AC9362
ΔE00 4.92
Dark Tan
#AF884A
ΔE00 6.28
Coffee
#A6814C
ΔE00 6.71
Dust
#B2996E
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A4E #4E629E
analogous
#9E624E #9E8A4E #8A9E4E
triadic
#9E8A4E #4E9E8A #8A4E9E
tetradic
#9E8A4E #4E9E62 #4E629E #9E4E8A
square
#9E8A4E #4E9E62 #4E629E #9E4E8A
split-complementary
#9E8A4E #4E8A9E #624E9E
monochromatic
#4C4226 #75663A #9E8A4E #B9A771 #CDC09A
Accessibility & contrast
On white
3.39
#9E8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#9E8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A4E
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A4E | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#9B8E50
Tritanopia (blue-blind)
#A9817C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a4e; /* rgb */ color: rgb(158, 138, 78); /* oklch */ color: oklch(63.8% 0.083 91.5);
Tailwind
colors: {
custom: {
50: '#bcac81',
500: '#9e8a4e',
950: '#000000',
},
}SCSS
$custom: #9e8a4e; $custom-light: #bcac81; $custom-dark: #000000;
JSON
{
"hex": "#9e8a4e",
"rgb": {
"r": 158,
"g": 138,
"b": 78
},
"hsl": {
"h": 45,
"s": 33.898,
"l": 46.275
},
"oklch": {
"l": 0.63807,
"c": 0.08303,
"h": 91.5
},
"luminance": 0.25996
}Semantic roles & 50–950 ramp
primary
#9E8A4E
secondary
#8E99BA
accent
#79CA5E
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C