#98996B#98996B
#98996B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.064 H 109.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #98996B |
|---|---|
| RGB | rgb(152, 153, 107) |
| HSL | hsl(61, 18%, 51%) |
| HSV | hsv(61, 30%, 60%) |
| CMYK | cmyk(0.7%, 0%, 30.1%, 40%) |
| CIE-LAB | lab(62.10, -7.98, 24.13) |
| CIE-LCH | lch(62.10, 25.42, 108.30°) |
| OKLab | oklab(67.05% -0.0208 0.0603) |
| OKLCH | oklch(67.05% 0.064 109) |
| XYZ | xyz(26.9941, 30.5198, 18.3759) |
| Luminance | 0.3052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 5.56
Dark Khaki
#9B8F55
ΔE00 6.01
Khaki (survey)
#AAA662
ΔE00 6.50
Camo
#7F8F4E
ΔE00 7.46
Stone (survey)
#ADA587
ΔE00 7.67
Bland
#AFA88B
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98996B #6C6B99
analogous
#99836B #98996B #81996B
triadic
#98996B #6B9899 #996B98
tetradic
#98996B #6B9983 #6C6B99 #996B81
square
#98996B #6B9983 #6C6B99 #996B81
split-complementary
#98996B #6B8199 #836B99
monochromatic
#515138 #757651 #98996B #B1B28F #CACBB3
Accessibility & contrast
On white
2.96
#98996B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#98996B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98996B
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98996B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98996B | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A09568
Deuteranopia (green-blind)
#A1976D
Tritanopia (blue-blind)
#9E938D
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #98996b; /* rgb */ color: rgb(152, 153, 107); /* oklch */ color: oklch(67.0% 0.064 109.0);
Tailwind
colors: {
custom: {
50: '#b7b795',
500: '#98996b',
950: '#000000',
},
}SCSS
$custom: #98996b; $custom-light: #b7b795; $custom-dark: #000000;
JSON
{
"hex": "#98996b",
"rgb": {
"r": 152,
"g": 153,
"b": 107
},
"hsl": {
"h": 61.304,
"s": 18.4,
"l": 50.98
},
"oklch": {
"l": 0.67046,
"c": 0.06376,
"h": 109
},
"luminance": 0.30519
}Semantic roles & 50–950 ramp
primary
#98996B
secondary
#A6A6BA
accent
#6DBB6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E