#98995F#98995F
#98995F is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.079 H 109.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #98995F |
|---|---|
| RGB | rgb(152, 153, 95) |
| HSL | hsl(61, 23%, 49%) |
| HSV | hsv(61, 38%, 60%) |
| CMYK | cmyk(0.7%, 0%, 37.9%, 40%) |
| CIE-LAB | lab(61.90, -9.52, 30.38) |
| CIE-LCH | lch(61.90, 31.83, 107.39°) |
| OKLab | oklab(66.82% -0.0259 0.0744) |
| OKLCH | oklch(66.82% 0.079 109.2) |
| XYZ | xyz(26.4060, 30.2846, 15.2787) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.41
Khaki (survey)
#AAA662
ΔE00 4.94
Dark Khaki
#9B8F55
ΔE00 5.02
Camo
#7F8F4E
ΔE00 6.30
Drab
#828344
ΔE00 7.87
Drab Green
#749551
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98995F #605F99
analogous
#997D5F #98995F #7B995F
triadic
#98995F #5F9899 #995F98
tetradic
#98995F #5F997D #605F99 #995F7B
square
#98995F #5F997D #605F99 #995F7B
split-complementary
#98995F #5F7B99 #7D5F99
monochromatic
#4D4D30 #727348 #98995F #B1B283 #C9CAA9
Accessibility & contrast
On white
2.98
#98995F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#98995F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98995F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98995F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98995F | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2945B
Deuteranopia (green-blind)
#A29762
Tritanopia (blue-blind)
#A0928B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #98995f; /* rgb */ color: rgb(152, 153, 95); /* oklch */ color: oklch(66.8% 0.079 109.2);
Tailwind
colors: {
custom: {
50: '#b7b78d',
500: '#98995f',
950: '#000000',
},
}SCSS
$custom: #98995f; $custom-light: #b7b78d; $custom-dark: #000000;
JSON
{
"hex": "#98995f",
"rgb": {
"r": 152,
"g": 153,
"b": 95
},
"hsl": {
"h": 61.034,
"s": 23.387,
"l": 48.627
},
"oklch": {
"l": 0.6682,
"c": 0.07877,
"h": 109.2
},
"luminance": 0.30284
}Semantic roles & 50–950 ramp
primary
#98995F
secondary
#9C9CB8
accent
#68C069
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D