#9E8A37#9E8A37
#9E8A37 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.105 H 95.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A37 |
|---|---|
| RGB | rgb(158, 138, 55) |
| HSL | hsl(48, 48%, 42%) |
| HSV | hsv(48, 65%, 62%) |
| CMYK | cmyk(0%, 12.7%, 65.2%, 38%) |
| CIE-LAB | lab(57.77, -2.49, 45.87) |
| CIE-LCH | lch(57.77, 45.94, 93.10°) |
| OKLab | oklab(63.52% -0.0104 0.1045) |
| OKLCH | oklch(63.52% 0.105 95.7) |
| XYZ | xyz(23.8797, 25.7231, 7.3209) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.00
Dark Mustard
#A88905
ΔE00 5.32
Dark Khaki
#9B8F55
ΔE00 5.33
Baby Shit Brown
#AD900D
ΔE00 5.78
Baby Poo
#AB9004
ΔE00 5.83
Yellowy Brown
#AE8B0C
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A37 #374B9E
analogous
#9E5737 #9E8A37 #7F9E37
triadic
#9E8A37 #379E8A #8A379E
tetradic
#9E8A37 #379E57 #374B9E #9E377F
square
#9E8A37 #379E57 #374B9E #9E377F
split-complementary
#9E8A37 #377F9E #57379E
monochromatic
#433B17 #716227 #9E8A37 #C2AC50 #D2C27D
Accessibility & contrast
On white
3.42
#9E8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9E8A37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A37
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A37 | 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)
#98872D
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a37; /* rgb */ color: rgb(158, 138, 55); /* oklch */ color: oklch(63.5% 0.105 95.7);
Tailwind
colors: {
custom: {
50: '#beab72',
500: '#9e8a37',
950: '#000000',
},
}SCSS
$custom: #9e8a37; $custom-light: #beab72; $custom-dark: #000000;
JSON
{
"hex": "#9e8a37",
"rgb": {
"r": 158,
"g": 138,
"b": 55
},
"hsl": {
"h": 48.35,
"s": 48.357,
"l": 41.765
},
"oklch": {
"l": 0.63517,
"c": 0.105,
"h": 95.7
},
"luminance": 0.25722
}Semantic roles & 50–950 ramp
primary
#9E8A37
secondary
#7683BB
accent
#6AD850
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B