#9E995F#9E995F
#9E995F is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.3% C 0.078 H 104.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E995F |
|---|---|
| RGB | rgb(158, 153, 95) |
| HSL | hsl(55, 25%, 50%) |
| HSV | hsv(55, 40%, 62%) |
| CMYK | cmyk(0%, 3.2%, 39.9%, 38%) |
| CIE-LAB | lab(62.40, -7.02, 31.13) |
| CIE-LCH | lch(62.40, 31.91, 102.71°) |
| OKLab | oklab(67.35% -0.019 0.0761) |
| OKLCH | oklch(67.35% 0.078 104) |
| XYZ | xyz(27.5578, 30.8785, 15.3327) |
| Luminance | 0.3088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.72
Khaki (survey)
#AAA662
ΔE00 4.29
Moss Green
#8A9A5B
ΔE00 6.37
Dark Sand
#A88F59
ΔE00 7.36
Dark Beige
#AC9362
ΔE00 7.62
Camo
#7F8F4E
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E995F #5F649E
analogous
#9E7A5F #9E995F #849E5F
triadic
#9E995F #5F9E99 #995F9E
tetradic
#9E995F #5F9E7A #5F649E #9E5F84
square
#9E995F #5F9E7A #5F649E #9E5F84
split-complementary
#9E995F #5F849E #7A5F9E
monochromatic
#524F31 #787448 #9E995F #B5B285 #CCCAAB
Accessibility & contrast
On white
2.93
#9E995F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#9E995F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E995F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E995F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E995F | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3955B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A7928B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e995f; /* rgb */ color: rgb(158, 153, 95); /* oklch */ color: oklch(67.3% 0.078 104.0);
Tailwind
colors: {
custom: {
50: '#bcb68d',
500: '#9e995f',
950: '#000000',
},
}SCSS
$custom: #9e995f; $custom-light: #bcb68d; $custom-dark: #000000;
JSON
{
"hex": "#9e995f",
"rgb": {
"r": 158,
"g": 153,
"b": 95
},
"hsl": {
"h": 55.238,
"s": 24.901,
"l": 49.608
},
"oklch": {
"l": 0.67345,
"c": 0.0784,
"h": 104
},
"luminance": 0.30878
}Semantic roles & 50–950 ramp
primary
#9E995F
secondary
#9EA0BB
accent
#6EC166
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D