#979862#979862
#979862 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.074 H 109.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #979862 |
|---|---|
| RGB | rgb(151, 152, 98) |
| HSL | hsl(61, 22%, 49%) |
| HSV | hsv(61, 36%, 60%) |
| CMYK | cmyk(0.7%, 0%, 35.5%, 40.4%) |
| CIE-LAB | lab(61.58, -9.02, 28.34) |
| CIE-LCH | lch(61.58, 29.74, 107.66°) |
| OKLab | oklab(66.57% -0.0243 0.0698) |
| OKLCH | oklch(66.57% 0.074 109.2) |
| XYZ | xyz(26.1956, 29.9181, 15.9477) |
| Luminance | 0.2992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.56
Dark Khaki
#9B8F55
ΔE00 5.05
Khaki (survey)
#AAA662
ΔE00 5.58
Camo
#7F8F4E
ΔE00 6.32
Drab
#828344
ΔE00 7.81
Moss
#769958
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979862 #636298
analogous
#987E62 #979862 #7C9862
triadic
#979862 #629798 #986297
tetradic
#979862 #62987E #636298 #98627C
square
#979862 #62987E #636298 #98627C
split-complementary
#979862 #627C98 #7E6298
monochromatic
#4D4E32 #72734A #979862 #B0B186 #C9C9AB
Accessibility & contrast
On white
3.01
#979862 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#979862 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979862
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979862 | 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)
#A0945E
Deuteranopia (green-blind)
#A19664
Tritanopia (blue-blind)
#9E928A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #979862; /* rgb */ color: rgb(151, 152, 98); /* oklch */ color: oklch(66.6% 0.074 109.2);
Tailwind
colors: {
custom: {
50: '#b6b68f',
500: '#979862',
950: '#000000',
},
}SCSS
$custom: #979862; $custom-light: #b6b68f; $custom-dark: #000000;
JSON
{
"hex": "#979862",
"rgb": {
"r": 151,
"g": 152,
"b": 98
},
"hsl": {
"h": 61.111,
"s": 21.6,
"l": 49.02
},
"oklch": {
"l": 0.66565,
"c": 0.07393,
"h": 109.2
},
"luminance": 0.29918
}Semantic roles & 50–950 ramp
primary
#979862
secondary
#9F9EB8
accent
#6ABE6B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D