#9E8A42#9E8A42
#9E8A42 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.095 H 94.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A42 |
|---|---|
| RGB | rgb(158, 138, 66) |
| HSL | hsl(47, 41%, 44%) |
| HSV | hsv(47, 58%, 62%) |
| CMYK | cmyk(0%, 12.7%, 58.2%, 38%) |
| CIE-LAB | lab(57.89, -1.68, 40.70) |
| CIE-LCH | lch(57.89, 40.73, 92.37°) |
| OKLab | oklab(63.64% -0.0067 0.0949) |
| OKLCH | oklch(63.64% 0.095 94) |
| XYZ | xyz(24.1734, 25.8405, 8.8676) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.94
Dark Sand
#A88F59
ΔE00 4.91
Diarrhea
#9F8303
ΔE00 6.44
Dark Beige
#AC9362
ΔE00 6.63
Dark Mustard
#A88905
ΔE00 6.74
Dark Tan
#AF884A
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A42 #42569E
analogous
#9E5C42 #9E8A42 #849E42
triadic
#9E8A42 #429E8A #8A429E
tetradic
#9E8A42 #429E5C #42569E #9E4284
square
#9E8A42 #429E5C #42569E #9E4284
split-complementary
#9E8A42 #42849E #5C429E
monochromatic
#483F1E #736430 #9E8A42 #BDA960 #CFC08C
Accessibility & contrast
On white
3.40
#9E8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#9E8A42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A42
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A42 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97883B
Deuteranopia (green-blind)
#9C8E45
Tritanopia (blue-blind)
#AA817A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a42; /* rgb */ color: rgb(158, 138, 66); /* oklch */ color: oklch(63.6% 0.095 94.0);
Tailwind
colors: {
custom: {
50: '#bdab79',
500: '#9e8a42',
950: '#000000',
},
}SCSS
$custom: #9e8a42; $custom-light: #bdab79; $custom-dark: #000000;
JSON
{
"hex": "#9e8a42",
"rgb": {
"r": 158,
"g": 138,
"b": 66
},
"hsl": {
"h": 46.957,
"s": 41.071,
"l": 43.922
},
"oklch": {
"l": 0.63641,
"c": 0.09517,
"h": 94
},
"luminance": 0.25839
}Semantic roles & 50–950 ramp
primary
#9E8A42
secondary
#828EBA
accent
#71D157
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B