#98986B#98986B
#98986B is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.062 H 108.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #98986B |
|---|---|
| RGB | rgb(152, 152, 107) |
| HSL | hsl(60, 18%, 51%) |
| HSV | hsv(60, 30%, 60%) |
| CMYK | cmyk(0%, 0%, 29.6%, 40.4%) |
| CIE-LAB | lab(61.82, -7.44, 23.76) |
| CIE-LCH | lch(61.82, 24.90, 107.38°) |
| OKLab | oklab(66.83% -0.0193 0.0594) |
| OKLCH | oklch(66.83% 0.062 108) |
| XYZ | xyz(26.8311, 30.1938, 18.3216) |
| Luminance | 0.3019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.77
Moss Green
#8A9A5B
ΔE00 5.93
Khaki (survey)
#AAA662
ΔE00 6.73
Stone (survey)
#ADA587
ΔE00 7.50
Camo
#7F8F4E
ΔE00 7.63
Bland
#AFA88B
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98986B #6B6B98
analogous
#98816B #98986B #81986B
triadic
#98986B #6B9898 #986B98
tetradic
#98986B #6B9881 #6B6B98 #986B81
square
#98986B #6B9881 #6B6B98 #986B81
split-complementary
#98986B #6B8198 #816B98
monochromatic
#515138 #757551 #98986B #B1B18F #CACAB3
Accessibility & contrast
On white
2.98
#98986B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#98986B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98986B
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98986B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98986B | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F9468
Deuteranopia (green-blind)
#A0966D
Tritanopia (blue-blind)
#9E928C
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #98986b; /* rgb */ color: rgb(152, 152, 107); /* oklch */ color: oklch(66.8% 0.062 108.0);
Tailwind
colors: {
custom: {
50: '#b7b695',
500: '#98986b',
950: '#000000',
},
}SCSS
$custom: #98986b; $custom-light: #b7b695; $custom-dark: #000000;
JSON
{
"hex": "#98986b",
"rgb": {
"r": 152,
"g": 152,
"b": 107
},
"hsl": {
"h": 60,
"s": 17.928,
"l": 50.784
},
"oklch": {
"l": 0.66825,
"c": 0.06244,
"h": 108
},
"luminance": 0.30193
}Semantic roles & 50–950 ramp
primary
#98986B
secondary
#A5A5B9
accent
#6DBB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E