#979F12#979F12
#979F12 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.146 H 113.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #979F12 |
|---|---|
| RGB | rgb(151, 159, 18) |
| HSL | hsl(63, 80%, 35%) |
| HSV | hsv(63, 89%, 62%) |
| CMYK | cmyk(5%, 0%, 88.7%, 37.6%) |
| CIE-LAB | lab(62.86, -18.40, 62.92) |
| CIE-LCH | lch(62.86, 65.55, 106.31°) |
| OKLab | oklab(67.36% -0.058 0.1345) |
| OKLCH | oklch(67.36% 0.147 113.3) |
| XYZ | xyz(25.2707, 31.4198, 5.3056) |
| Luminance | 0.3142 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.91
Baby Poop Green
#8F9805
ΔE00 2.33
Vomit
#A2A415
ΔE00 2.48
Pea Soup Green
#94A617
ΔE00 2.84
Puke
#A5A502
ΔE00 3.40
Baby Shit Green
#889717
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979F12 #1A129F
analogous
#9F6012 #979F12 #519F12
triadic
#979F12 #12979F #9F1297
tetradic
#979F12 #129F60 #1A129F #9F1251
square
#979F12 #129F60 #1A129F #9F1251
split-complementary
#979F12 #12519F #60129F
monochromatic
#2F3106 #63680C #979F12 #CBD618 #E0EA42
Accessibility & contrast
On white
2.88
#979F12 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#979F12 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979F12
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979F12 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9923
Tritanopia (blue-blind)
#A29587
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979f12; /* rgb */ color: rgb(151, 159, 18); /* oklch */ color: oklch(67.4% 0.146 113.3);
Tailwind
colors: {
custom: {
50: '#babb63',
500: '#979f12',
950: '#000000',
},
}SCSS
$custom: #979f12; $custom-light: #babb63; $custom-dark: #000000;
JSON
{
"hex": "#979f12",
"rgb": {
"r": 151,
"g": 159,
"b": 18
},
"hsl": {
"h": 63.404,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.67355,
"c": 0.1465,
"h": 113.3
},
"luminance": 0.31419
}Semantic roles & 50–950 ramp
primary
#979F12
secondary
#4B43CA
accent
#32F63D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A