#98996F#98996F
#98996F is a light, muted yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.059 H 109.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #98996F |
|---|---|
| RGB | rgb(152, 153, 111) |
| HSL | hsl(61, 17%, 52%) |
| HSV | hsv(61, 27%, 60%) |
| CMYK | cmyk(0.7%, 0%, 27.5%, 40%) |
| CIE-LAB | lab(62.17, -7.42, 22.03) |
| CIE-LCH | lch(62.17, 23.25, 108.62°) |
| OKLab | oklab(67.13% -0.0191 0.0554) |
| OKLCH | oklch(67.13% 0.059 109) |
| XYZ | xyz(27.2094, 30.6059, 19.5100) |
| Luminance | 0.3061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 6.29
Dark Khaki
#9B8F55
ΔE00 6.63
Stone (survey)
#ADA587
ΔE00 7.10
Khaki (survey)
#AAA662
ΔE00 7.25
Bland
#AFA88B
ΔE00 7.62
Camo
#7F8F4E
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98996F #706F99
analogous
#99856F #98996F #83996F
triadic
#98996F #6F9899 #996F98
tetradic
#98996F #6F9985 #706F99 #996F83
square
#98996F #6F9985 #706F99 #996F83
split-complementary
#98996F #6F8399 #856F99
monochromatic
#52533B #767754 #98996F #B2B293 #CBCCB7
Accessibility & contrast
On white
2.95
#98996F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#98996F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98996F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98996F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98996F | 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)
#A0956C
Deuteranopia (green-blind)
#A09771
Tritanopia (blue-blind)
#9E948E
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #98996f; /* rgb */ color: rgb(152, 153, 111); /* oklch */ color: oklch(67.1% 0.059 109.0);
Tailwind
colors: {
custom: {
50: '#b7b798',
500: '#98996f',
950: '#000000',
},
}SCSS
$custom: #98996f; $custom-light: #b7b798; $custom-dark: #000000;
JSON
{
"hex": "#98996f",
"rgb": {
"r": 152,
"g": 153,
"b": 111
},
"hsl": {
"h": 61.429,
"s": 17.073,
"l": 51.765
},
"oklch": {
"l": 0.67128,
"c": 0.05857,
"h": 109
},
"luminance": 0.30606
}Semantic roles & 50–950 ramp
primary
#98996F
secondary
#A9A9BB
accent
#6EBA70
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E