#9E8A35#9E8A35
#9E8A35 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.107 H 95.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A35 |
|---|---|
| RGB | rgb(158, 138, 53) |
| HSL | hsl(49, 50%, 41%) |
| HSV | hsv(49, 66%, 62%) |
| CMYK | cmyk(0%, 12.7%, 66.5%, 38%) |
| CIE-LAB | lab(57.76, -2.62, 46.76) |
| CIE-LCH | lch(57.76, 46.84, 93.20°) |
| OKLab | oklab(63.5% -0.011 0.1061) |
| OKLCH | oklch(63.5% 0.107 95.9) |
| XYZ | xyz(23.8327, 25.7043, 7.0736) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.78
Dark Mustard
#A88905
ΔE00 5.11
Baby Shit Brown
#AD900D
ΔE00 5.57
Dark Khaki
#9B8F55
ΔE00 5.58
Baby Poo
#AB9004
ΔE00 5.59
Yellowy Brown
#AE8B0C
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A35 #35499E
analogous
#9E5635 #9E8A35 #7E9E35
triadic
#9E8A35 #359E8A #8A359E
tetradic
#9E8A35 #359E56 #35499E #9E357E
square
#9E8A35 #359E56 #35499E #9E357E
split-complementary
#9E8A35 #357E9E #56359E
monochromatic
#423A16 #706226 #9E8A35 #C3AD4D #D3C27B
Accessibility & contrast
On white
3.42
#9E8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9E8A35 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A35
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A35 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98872B
Deuteranopia (green-blind)
#9D8D39
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a35; /* rgb */ color: rgb(158, 138, 53); /* oklch */ color: oklch(63.5% 0.107 95.9);
Tailwind
colors: {
custom: {
50: '#beab70',
500: '#9e8a35',
950: '#000000',
},
}SCSS
$custom: #9e8a35; $custom-light: #beab70; $custom-dark: #000000;
JSON
{
"hex": "#9e8a35",
"rgb": {
"r": 158,
"g": 138,
"b": 53
},
"hsl": {
"h": 48.571,
"s": 49.763,
"l": 41.373
},
"oklch": {
"l": 0.63497,
"c": 0.10664,
"h": 95.9
},
"luminance": 0.25703
}Semantic roles & 50–950 ramp
primary
#9E8A35
secondary
#7381BB
accent
#69D94F
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B