#98995C#98995C
#98995C is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.082 H 109.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #98995C |
|---|---|
| RGB | rgb(152, 153, 92) |
| HSL | hsl(61, 25%, 48%) |
| HSV | hsv(61, 40%, 60%) |
| CMYK | cmyk(0.7%, 0%, 39.9%, 40%) |
| CIE-LAB | lab(61.85, -9.87, 31.92) |
| CIE-LCH | lch(61.85, 33.41, 107.18°) |
| OKLab | oklab(66.77% -0.0271 0.0778) |
| OKLCH | oklch(66.77% 0.082 109.2) |
| XYZ | xyz(26.2722, 30.2311, 14.5743) |
| Luminance | 0.3023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.39
Khaki (survey)
#AAA662
ΔE00 4.75
Dark Khaki
#9B8F55
ΔE00 4.98
Camo
#7F8F4E
ΔE00 6.20
Drab
#828344
ΔE00 7.75
Drab Green
#749551
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98995C #5D5C99
analogous
#997B5C #98995C #79995C
triadic
#98995C #5C9899 #995C98
tetradic
#98995C #5C997B #5D5C99 #995C79
square
#98995C #5C997B #5D5C99 #995C79
split-complementary
#98995C #5C7999 #7B5C99
monochromatic
#4C4D2E #727345 #98995C #B2B280 #C9C9A6
Accessibility & contrast
On white
2.98
#98995C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#98995C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98995C
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98995C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98995C | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29457
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#A0928A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #98995c; /* rgb */ color: rgb(152, 153, 92); /* oklch */ color: oklch(66.8% 0.082 109.2);
Tailwind
colors: {
custom: {
50: '#b7b78b',
500: '#98995c',
950: '#000000',
},
}SCSS
$custom: #98995c; $custom-light: #b7b78b; $custom-dark: #000000;
JSON
{
"hex": "#98995c",
"rgb": {
"r": 152,
"g": 153,
"b": 92
},
"hsl": {
"h": 60.984,
"s": 24.898,
"l": 48.039
},
"oklch": {
"l": 0.66769,
"c": 0.08236,
"h": 109.2
},
"luminance": 0.30231
}Semantic roles & 50–950 ramp
primary
#98995C
secondary
#9A99B7
accent
#66C168
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D