#98975C#98975C
#98975C is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.080 H 107.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #98975C |
|---|---|
| RGB | rgb(152, 151, 92) |
| HSL | hsl(59, 25%, 48%) |
| HSV | hsv(59, 39%, 60%) |
| CMYK | cmyk(0%, 0.7%, 39.5%, 40.4%) |
| CIE-LAB | lab(61.29, -8.80, 31.21) |
| CIE-LCH | lch(61.29, 32.42, 105.74°) |
| OKLab | oklab(66.32% -0.0241 0.0761) |
| OKLCH | oklch(66.32% 0.08 107.6) |
| XYZ | xyz(25.9476, 29.5819, 14.4661) |
| Luminance | 0.2958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.18
Moss Green
#8A9A5B
ΔE00 4.98
Khaki (survey)
#AAA662
ΔE00 5.15
Camo
#7F8F4E
ΔE00 6.37
Drab
#828344
ΔE00 7.32
Dark Sand
#A88F59
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98975C #5C5D98
analogous
#98795C #98975C #7B985C
triadic
#98975C #5C9897 #975C98
tetradic
#98975C #5C9879 #5C5D98 #985C7B
square
#98975C #5C9879 #5C5D98 #985C7B
split-complementary
#98975C #5C7B98 #795C98
monochromatic
#4C4B2E #727145 #98975C #B2B17F #C9C8A6
Accessibility & contrast
On white
3.04
#98975C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#98975C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98975C
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98975C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98975C | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A09358
Deuteranopia (green-blind)
#A1955F
Tritanopia (blue-blind)
#A09088
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #98975c; /* rgb */ color: rgb(152, 151, 92); /* oklch */ color: oklch(66.3% 0.080 107.6);
Tailwind
colors: {
custom: {
50: '#b7b58b',
500: '#98975c',
950: '#000000',
},
}SCSS
$custom: #98975c; $custom-light: #b7b58b; $custom-dark: #000000;
JSON
{
"hex": "#98975c",
"rgb": {
"r": 152,
"g": 151,
"b": 92
},
"hsl": {
"h": 59,
"s": 24.59,
"l": 47.843
},
"oklch": {
"l": 0.66323,
"c": 0.07986,
"h": 107.6
},
"luminance": 0.29581
}Semantic roles & 50–950 ramp
primary
#98975C
secondary
#9999B7
accent
#68C167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D