#9E8A4B#9E8A4B
#9E8A4B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.8% C 0.086 H 92.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A4B |
|---|---|
| RGB | rgb(158, 138, 75) |
| HSL | hsl(46, 36%, 46%) |
| HSV | hsv(46, 53%, 62%) |
| CMYK | cmyk(0%, 12.7%, 52.5%, 38%) |
| CIE-LAB | lab(57.99, -0.91, 36.22) |
| CIE-LCH | lch(57.99, 36.23, 91.43°) |
| OKLab | oklab(63.76% -0.0033 0.0861) |
| OKLCH | oklch(63.76% 0.086 92.2) |
| XYZ | xyz(24.4599, 25.9552, 10.3767) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.11
Dark Sand
#A88F59
ΔE00 3.61
Dark Beige
#AC9362
ΔE00 5.33
Dark Tan
#AF884A
ΔE00 6.43
Coffee
#A6814C
ΔE00 7.00
Dust
#B2996E
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A4B #4B5F9E
analogous
#9E604B #9E8A4B #889E4B
triadic
#9E8A4B #4B9E8A #8A4B9E
tetradic
#9E8A4B #4B9E60 #4B5F9E #9E4B88
square
#9E8A4B #4B9E60 #4B5F9E #9E4B88
split-complementary
#9E8A4B #4B889E #604B9E
monochromatic
#4B4224 #746637 #9E8A4B #BAA76D #CDC096
Accessibility & contrast
On white
3.39
#9E8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#9E8A4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A4B
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A4B | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968846
Deuteranopia (green-blind)
#9B8E4D
Tritanopia (blue-blind)
#A9817B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a4b; /* rgb */ color: rgb(158, 138, 75); /* oklch */ color: oklch(63.8% 0.086 92.2);
Tailwind
colors: {
custom: {
50: '#bdac7f',
500: '#9e8a4b',
950: '#000000',
},
}SCSS
$custom: #9e8a4b; $custom-light: #bdac7f; $custom-dark: #000000;
JSON
{
"hex": "#9e8a4b",
"rgb": {
"r": 158,
"g": 138,
"b": 75
},
"hsl": {
"h": 45.542,
"s": 35.622,
"l": 45.686
},
"oklch": {
"l": 0.63763,
"c": 0.08618,
"h": 92.2
},
"luminance": 0.25954
}Semantic roles & 50–950 ramp
primary
#9E8A4B
secondary
#8B96B9
accent
#77CC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C