#9E985F#9E985F
#9E985F is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.077 H 103.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E985F |
|---|---|
| RGB | rgb(158, 152, 95) |
| HSL | hsl(54, 25%, 50%) |
| HSV | hsv(54, 40%, 62%) |
| CMYK | cmyk(0%, 3.8%, 39.9%, 38%) |
| CIE-LAB | lab(62.13, -6.48, 30.77) |
| CIE-LCH | lch(62.13, 31.45, 101.89°) |
| OKLab | oklab(67.13% -0.0175 0.0753) |
| OKLCH | oklch(67.13% 0.077 103.1) |
| XYZ | xyz(27.3948, 30.5525, 15.2784) |
| Luminance | 0.3055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.33
Khaki (survey)
#AAA662
ΔE00 4.63
Moss Green
#8A9A5B
ΔE00 6.69
Dark Sand
#A88F59
ΔE00 6.95
Dark Beige
#AC9362
ΔE00 7.23
Camo
#7F8F4E
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E985F #5F659E
analogous
#9E795F #9E985F #859E5F
triadic
#9E985F #5F9E98 #985F9E
tetradic
#9E985F #5F9E79 #5F659E #9E5F85
square
#9E985F #5F9E79 #5F659E #9E5F85
split-complementary
#9E985F #5F859E #795F9E
monochromatic
#524E31 #787348 #9E985F #B5B185 #CCC9AB
Accessibility & contrast
On white
2.95
#9E985F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#9E985F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E985F
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E985F | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2945B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A7918A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9e985f; /* rgb */ color: rgb(158, 152, 95); /* oklch */ color: oklch(67.1% 0.077 103.1);
Tailwind
colors: {
custom: {
50: '#bcb68d',
500: '#9e985f',
950: '#000000',
},
}SCSS
$custom: #9e985f; $custom-light: #bcb68d; $custom-dark: #000000;
JSON
{
"hex": "#9e985f",
"rgb": {
"r": 158,
"g": 152,
"b": 95
},
"hsl": {
"h": 54.286,
"s": 24.901,
"l": 49.608
},
"oklch": {
"l": 0.67126,
"c": 0.07725,
"h": 103.1
},
"luminance": 0.30552
}Semantic roles & 50–950 ramp
primary
#9E985F
secondary
#9EA1BB
accent
#6FC166
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D