#979962#979962
#979962 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.075 H 110.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #979962 |
|---|---|
| RGB | rgb(151, 153, 98) |
| HSL | hsl(62, 22%, 49%) |
| HSV | hsv(62, 36%, 60%) |
| CMYK | cmyk(1.3%, 0%, 35.9%, 40%) |
| CIE-LAB | lab(61.86, -9.56, 28.70) |
| CIE-LCH | lch(61.86, 30.25, 108.42°) |
| OKLab | oklab(66.79% -0.0258 0.0707) |
| OKLCH | oklch(66.79% 0.075 110) |
| XYZ | xyz(26.3586, 30.2440, 16.0020) |
| Luminance | 0.3024 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.23
Khaki (survey)
#AAA662
ΔE00 5.39
Dark Khaki
#9B8F55
ΔE00 5.39
Camo
#7F8F4E
ΔE00 6.23
Drab
#828344
ΔE00 8.01
Moss
#769958
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979962 #646299
analogous
#998062 #979962 #7C9962
triadic
#979962 #629799 #996297
tetradic
#979962 #629980 #646299 #99627C
square
#979962 #629980 #646299 #99627C
split-complementary
#979962 #627C99 #806299
monochromatic
#4D4E32 #72744A #979962 #B0B286 #C9CAAC
Accessibility & contrast
On white
2.98
#979962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#979962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979962
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979962 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1945E
Deuteranopia (green-blind)
#A29664
Tritanopia (blue-blind)
#9E938B
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #979962; /* rgb */ color: rgb(151, 153, 98); /* oklch */ color: oklch(66.8% 0.075 110.0);
Tailwind
colors: {
custom: {
50: '#b6b78f',
500: '#979962',
950: '#000000',
},
}SCSS
$custom: #979962; $custom-light: #b6b78f; $custom-dark: #000000;
JSON
{
"hex": "#979962",
"rgb": {
"r": 151,
"g": 153,
"b": 98
},
"hsl": {
"h": 62.182,
"s": 21.912,
"l": 49.216
},
"oklch": {
"l": 0.66788,
"c": 0.07524,
"h": 110
},
"luminance": 0.30244
}Semantic roles & 50–950 ramp
primary
#979962
secondary
#A09FB8
accent
#69BE6C
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D