#97995F#97995F
#97995F is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.079 H 110.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #97995F |
|---|---|
| RGB | rgb(151, 153, 95) |
| HSL | hsl(62, 23%, 49%) |
| HSV | hsv(62, 38%, 60%) |
| CMYK | cmyk(1.3%, 0%, 37.9%, 40%) |
| CIE-LAB | lab(61.82, -9.93, 30.26) |
| CIE-LCH | lch(61.82, 31.84, 108.17°) |
| OKLab | oklab(66.74% -0.027 0.0741) |
| OKLCH | oklch(66.74% 0.079 110) |
| XYZ | xyz(26.2196, 30.1884, 15.2700) |
| Luminance | 0.3019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.09
Khaki (survey)
#AAA662
ΔE00 5.12
Dark Khaki
#9B8F55
ΔE00 5.27
Camo
#7F8F4E
ΔE00 6.05
Drab
#828344
ΔE00 7.82
Drab Green
#749551
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97995F #615F99
analogous
#997E5F #97995F #7A995F
triadic
#97995F #5F9799 #995F97
tetradic
#97995F #5F997E #615F99 #995F7A
square
#97995F #5F997E #615F99 #995F7A
split-complementary
#97995F #5F7A99 #7E5F99
monochromatic
#4C4D30 #727348 #97995F #B0B283 #C8CAA9
Accessibility & contrast
On white
2.98
#97995F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#97995F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97995F
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97995F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97995F | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2945B
Deuteranopia (green-blind)
#A29662
Tritanopia (blue-blind)
#9E928B
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #97995f; /* rgb */ color: rgb(151, 153, 95); /* oklch */ color: oklch(66.7% 0.079 110.0);
Tailwind
colors: {
custom: {
50: '#b6b78d',
500: '#97995f',
950: '#000000',
},
}SCSS
$custom: #97995f; $custom-light: #b6b78d; $custom-dark: #000000;
JSON
{
"hex": "#97995f",
"rgb": {
"r": 151,
"g": 153,
"b": 95
},
"hsl": {
"h": 62.069,
"s": 23.387,
"l": 48.627
},
"oklch": {
"l": 0.66735,
"c": 0.0789,
"h": 110
},
"luminance": 0.30188
}Semantic roles & 50–950 ramp
primary
#97995F
secondary
#9D9CB8
accent
#68C06B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D