#98985B#98985B
#98985B is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.082 H 108.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #98985B |
|---|---|
| RGB | rgb(152, 152, 91) |
| HSL | hsl(60, 25%, 48%) |
| HSV | hsv(60, 40%, 60%) |
| CMYK | cmyk(0%, 0%, 40.1%, 40.4%) |
| CIE-LAB | lab(61.56, -9.45, 32.08) |
| CIE-LCH | lch(61.56, 33.44, 106.41°) |
| OKLab | oklab(66.53% -0.026 0.0781) |
| OKLCH | oklch(66.53% 0.082 108.4) |
| XYZ | xyz(26.0658, 29.8877, 14.2913) |
| Luminance | 0.2989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.58
Moss Green
#8A9A5B
ΔE00 4.67
Khaki (survey)
#AAA662
ΔE00 4.89
Camo
#7F8F4E
ΔE00 6.25
Drab
#828344
ΔE00 7.49
Dark Sand
#A88F59
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98985B #5B5B98
analogous
#98795B #98985B #79985B
triadic
#98985B #5B9898 #985B98
tetradic
#98985B #5B9879 #5B5B98 #985B79
square
#98985B #5B9879 #5B5B98 #985B79
split-complementary
#98985B #5B7998 #795B98
monochromatic
#4B4B2D #727244 #98985B #B2B27E #C9C9A5
Accessibility & contrast
On white
3.01
#98985B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#98985B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98985B
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98985B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98985B | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19356
Deuteranopia (green-blind)
#A2965E
Tritanopia (blue-blind)
#A09189
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #98985b; /* rgb */ color: rgb(152, 152, 91); /* oklch */ color: oklch(66.5% 0.082 108.4);
Tailwind
colors: {
custom: {
50: '#b7b68a',
500: '#98985b',
950: '#000000',
},
}SCSS
$custom: #98985b; $custom-light: #b7b68a; $custom-dark: #000000;
JSON
{
"hex": "#98985b",
"rgb": {
"r": 152,
"g": 152,
"b": 91
},
"hsl": {
"h": 60,
"s": 25.103,
"l": 47.647
},
"oklch": {
"l": 0.66529,
"c": 0.0823,
"h": 108.4
},
"luminance": 0.29887
}Semantic roles & 50–950 ramp
primary
#98985B
secondary
#9898B7
accent
#66C266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D