#98996E#98996E
#98996E is a light, muted yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.060 H 109.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #98996E |
|---|---|
| RGB | rgb(152, 153, 110) |
| HSL | hsl(61, 17%, 52%) |
| HSV | hsv(61, 28%, 60%) |
| CMYK | cmyk(0.7%, 0%, 28.1%, 40%) |
| CIE-LAB | lab(62.15, -7.56, 22.55) |
| CIE-LCH | lch(62.15, 23.79, 108.54°) |
| OKLab | oklab(67.11% -0.0195 0.0566) |
| OKLCH | oklch(67.11% 0.06 109) |
| XYZ | xyz(27.1546, 30.5840, 19.2216) |
| Luminance | 0.3058 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 6.10
Dark Khaki
#9B8F55
ΔE00 6.46
Khaki (survey)
#AAA662
ΔE00 7.05
Stone (survey)
#ADA587
ΔE00 7.24
Bland
#AFA88B
ΔE00 7.77
Camo
#7F8F4E
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98996E #6F6E99
analogous
#99856E #98996E #83996E
triadic
#98996E #6E9899 #996E98
tetradic
#98996E #6E9985 #6F6E99 #996E83
square
#98996E #6E9985 #6F6E99 #996E83
split-complementary
#98996E #6E8399 #856E99
monochromatic
#52533A #767653 #98996E #B2B292 #CBCCB6
Accessibility & contrast
On white
2.95
#98996E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#98996E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98996E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98996E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98996E | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0956B
Deuteranopia (green-blind)
#A09770
Tritanopia (blue-blind)
#9E948E
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #98996e; /* rgb */ color: rgb(152, 153, 110); /* oklch */ color: oklch(67.1% 0.060 109.0);
Tailwind
colors: {
custom: {
50: '#b7b798',
500: '#98996e',
950: '#000000',
},
}SCSS
$custom: #98996e; $custom-light: #b7b798; $custom-dark: #000000;
JSON
{
"hex": "#98996e",
"rgb": {
"r": 152,
"g": 153,
"b": 110
},
"hsl": {
"h": 61.395,
"s": 17.409,
"l": 51.569
},
"oklch": {
"l": 0.67107,
"c": 0.05987,
"h": 109
},
"luminance": 0.30584
}Semantic roles & 50–950 ramp
primary
#98996E
secondary
#A8A8BB
accent
#6EBA6F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E