#98985F#98985F
#98985F is a light, moderate yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.077 H 108.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #98985F |
|---|---|
| RGB | rgb(152, 152, 95) |
| HSL | hsl(60, 23%, 48%) |
| HSV | hsv(60, 38%, 60%) |
| CMYK | cmyk(0%, 0%, 37.5%, 40.4%) |
| CIE-LAB | lab(61.62, -8.98, 30.02) |
| CIE-LCH | lch(61.62, 31.33, 106.65°) |
| OKLab | oklab(66.6% -0.0244 0.0736) |
| OKLCH | oklch(66.6% 0.078 108.3) |
| XYZ | xyz(26.2430, 29.9586, 15.2244) |
| Luminance | 0.2996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.64
Moss Green
#8A9A5B
ΔE00 4.71
Khaki (survey)
#AAA662
ΔE00 5.14
Camo
#7F8F4E
ΔE00 6.39
Drab
#828344
ΔE00 7.67
Dark Sand
#A88F59
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98985F #5F5F98
analogous
#987B5F #98985F #7B985F
triadic
#98985F #5F9898 #985F98
tetradic
#98985F #5F987B #5F5F98 #985F7B
square
#98985F #5F987B #5F5F98 #985F7B
split-complementary
#98985F #5F7B98 #7B5F98
monochromatic
#4D4D30 #727247 #98985F #B1B183 #C9C9A8
Accessibility & contrast
On white
3.00
#98985F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#98985F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98985F
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98985F | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1945B
Deuteranopia (green-blind)
#A29661
Tritanopia (blue-blind)
#A0918A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #98985f; /* rgb */ color: rgb(152, 152, 95); /* oklch */ color: oklch(66.6% 0.077 108.3);
Tailwind
colors: {
custom: {
50: '#b7b68d',
500: '#98985f',
950: '#000000',
},
}SCSS
$custom: #98985f; $custom-light: #b7b68d; $custom-dark: #000000;
JSON
{
"hex": "#98985f",
"rgb": {
"r": 152,
"g": 152,
"b": 95
},
"hsl": {
"h": 60,
"s": 23.077,
"l": 48.431
},
"oklch": {
"l": 0.66598,
"c": 0.0775,
"h": 108.3
},
"luminance": 0.29958
}Semantic roles & 50–950 ramp
primary
#98985F
secondary
#9C9CB7
accent
#68C068
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D