#9D986F#9D986F
#9D986F is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.057 H 101.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D986F |
|---|---|
| RGB | rgb(157, 152, 111) |
| HSL | hsl(53, 19%, 53%) |
| HSV | hsv(53, 29%, 62%) |
| CMYK | cmyk(0%, 3.2%, 29.3%, 38.4%) |
| CIE-LAB | lab(62.32, -4.86, 22.29) |
| CIE-LCH | lch(62.32, 22.82, 102.31°) |
| OKLab | oklab(67.34% -0.0118 0.056) |
| OKLCH | oklch(67.34% 0.057 101.9) |
| XYZ | xyz(28.0023, 30.7728, 19.5005) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.53
Stone (survey)
#ADA587
ΔE00 5.82
Bland
#AFA88B
ΔE00 6.57
Khaki (survey)
#AAA662
ΔE00 7.13
Dark Beige
#AC9362
ΔE00 7.51
Brown Grey
#8D8468
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D986F #6F749D
analogous
#9D816F #9D986F #8B9D6F
triadic
#9D986F #6F9D98 #986F9D
tetradic
#9D986F #6F9D81 #6F749D #9D6F8B
square
#9D986F #6F9D81 #6F749D #9D6F8B
split-complementary
#9D986F #6F8B9D #816F9D
monochromatic
#57543B #7B7754 #9D986F #B6B293 #CFCCB8
Accessibility & contrast
On white
2.94
#9D986F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#9D986F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D986F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D986F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D986F | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0956C
Deuteranopia (green-blind)
#A19870
Tritanopia (blue-blind)
#A4928D
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9d986f; /* rgb */ color: rgb(157, 152, 111); /* oklch */ color: oklch(67.3% 0.057 101.9);
Tailwind
colors: {
custom: {
50: '#bab698',
500: '#9d986f',
950: '#000000',
},
}SCSS
$custom: #9d986f; $custom-light: #bab698; $custom-dark: #000000;
JSON
{
"hex": "#9d986f",
"rgb": {
"r": 157,
"g": 152,
"b": 111
},
"hsl": {
"h": 53.478,
"s": 19.008,
"l": 52.549
},
"oklch": {
"l": 0.67343,
"c": 0.05722,
"h": 101.9
},
"luminance": 0.30772
}Semantic roles & 50–950 ramp
primary
#9D986F
secondary
#AAACBE
accent
#75BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E