#979F1C#979F1C
#979F1C is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.143 H 113.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #979F1C |
|---|---|
| RGB | rgb(151, 159, 28) |
| HSL | hsl(64, 70%, 37%) |
| HSV | hsv(64, 82%, 62%) |
| CMYK | cmyk(5%, 0%, 82.4%, 37.6%) |
| CIE-LAB | lab(62.89, -18.12, 60.62) |
| CIE-LCH | lch(62.89, 63.28, 106.64°) |
| OKLab | oklab(67.39% -0.0567 0.1312) |
| OKLCH | oklch(67.39% 0.143 113.4) |
| XYZ | xyz(25.3711, 31.4600, 5.8343) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.12
Baby Poop Green
#8F9805
ΔE00 2.41
Vomit
#A2A415
ΔE00 2.70
Pea Soup Green
#94A617
ΔE00 2.79
Baby Shit Green
#889717
ΔE00 3.56
Puke
#A5A502
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979F1C #241C9F
analogous
#9F661C #979F1C #569F1C
triadic
#979F1C #1C979F #9F1C97
tetradic
#979F1C #1C9F66 #241C9F #9F1C56
square
#979F1C #1C9F66 #241C9F #9F1C56
split-complementary
#979F1C #1C569F #661C9F
monochromatic
#34370A #666B13 #979F1C #C8D325 #D8E154
Accessibility & contrast
On white
2.88
#979F1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#979F1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979F1C
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979F1C | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979f1c; /* rgb */ color: rgb(151, 159, 28); /* oklch */ color: oklch(67.4% 0.143 113.4);
Tailwind
colors: {
custom: {
50: '#b9bb66',
500: '#979f1c',
950: '#000000',
},
}SCSS
$custom: #979f1c; $custom-light: #b9bb66; $custom-dark: #000000;
JSON
{
"hex": "#979f1c",
"rgb": {
"r": 151,
"g": 159,
"b": 28
},
"hsl": {
"h": 63.664,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.67392,
"c": 0.14291,
"h": 113.4
},
"luminance": 0.31459
}Semantic roles & 50–950 ramp
primary
#979F1C
secondary
#5A53C4
accent
#3BED46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A