#98996D#98996D
#98996D is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.061 H 109.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #98996D |
|---|---|
| RGB | rgb(152, 153, 109) |
| HSL | hsl(61, 18%, 51%) |
| HSV | hsv(61, 29%, 60%) |
| CMYK | cmyk(0.7%, 0%, 28.8%, 40%) |
| CIE-LAB | lab(62.14, -7.70, 23.08) |
| CIE-LCH | lch(62.14, 24.33, 108.46°) |
| OKLab | oklab(67.09% -0.0199 0.0578) |
| OKLCH | oklch(67.09% 0.061 109) |
| XYZ | xyz(27.1005, 30.5624, 18.9365) |
| Luminance | 0.3056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 5.91
Dark Khaki
#9B8F55
ΔE00 6.30
Khaki (survey)
#AAA662
ΔE00 6.86
Stone (survey)
#ADA587
ΔE00 7.38
Camo
#7F8F4E
ΔE00 7.77
Bland
#AFA88B
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98996D #6E6D99
analogous
#99846D #98996D #82996D
triadic
#98996D #6D9899 #996D98
tetradic
#98996D #6D9984 #6E6D99 #996D82
square
#98996D #6D9984 #6E6D99 #996D82
split-complementary
#98996D #6D8299 #846D99
monochromatic
#525239 #757653 #98996D #B1B291 #CBCBB5
Accessibility & contrast
On white
2.95
#98996D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#98996D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98996D
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98996D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98996D | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0956A
Deuteranopia (green-blind)
#A1976F
Tritanopia (blue-blind)
#9E948D
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #98996d; /* rgb */ color: rgb(152, 153, 109); /* oklch */ color: oklch(67.1% 0.061 109.0);
Tailwind
colors: {
custom: {
50: '#b7b797',
500: '#98996d',
950: '#000000',
},
}SCSS
$custom: #98996d; $custom-light: #b7b797; $custom-dark: #000000;
JSON
{
"hex": "#98996d",
"rgb": {
"r": 152,
"g": 153,
"b": 109
},
"hsl": {
"h": 61.364,
"s": 17.742,
"l": 51.373
},
"oklch": {
"l": 0.67087,
"c": 0.06117,
"h": 109
},
"luminance": 0.30562
}Semantic roles & 50–950 ramp
primary
#98996D
secondary
#A8A7BB
accent
#6DBA6F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E