#979C26#979C26
#979C26 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.8% C 0.135 H 112.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #979C26 |
|---|---|
| RGB | rgb(151, 156, 38) |
| HSL | hsl(63, 61%, 38%) |
| HSV | hsv(63, 76%, 61%) |
| CMYK | cmyk(3.2%, 0%, 75.6%, 38.8%) |
| CIE-LAB | lab(62.08, -16.19, 56.85) |
| CIE-LCH | lch(62.08, 59.11, 105.89°) |
| OKLab | oklab(66.76% -0.0505 0.125) |
| OKLCH | oklch(66.76% 0.135 112) |
| XYZ | xyz(25.0016, 30.4968, 6.4028) |
| Luminance | 0.3050 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.20
Baby Poop Green
#8F9805
ΔE00 2.36
Baby Shit Green
#889717
ΔE00 3.33
Vomit
#A2A415
ΔE00 3.47
Pea Soup Green
#94A617
ΔE00 3.98
Puke
#A5A502
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979C26 #2B269C
analogous
#9C6626 #979C26 #5C9C26
triadic
#979C26 #26979C #9C2697
tetradic
#979C26 #269C66 #2B269C #9C265C
square
#979C26 #269C66 #2B269C #9C265C
split-complementary
#979C26 #265C9C #66269C
monochromatic
#383A0E #676B1A #979C26 #C7CD32 #D4D963
Accessibility & contrast
On white
2.96
#979C26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#979C26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979C26
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979C26 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8950B
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#A29286
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #979c26; /* rgb */ color: rgb(151, 156, 38); /* oklch */ color: oklch(66.8% 0.135 112.0);
Tailwind
colors: {
custom: {
50: '#b9b96a',
500: '#979c26',
950: '#000000',
},
}SCSS
$custom: #979c26; $custom-light: #b9b96a; $custom-dark: #000000;
JSON
{
"hex": "#979c26",
"rgb": {
"r": 151,
"g": 156,
"b": 38
},
"hsl": {
"h": 62.542,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.66756,
"c": 0.13478,
"h": 112
},
"luminance": 0.30496
}Semantic roles & 50–950 ramp
primary
#979C26
secondary
#635FBF
accent
#44E44B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A