#979E13#979E13
#979E13 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.1% C 0.145 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #979E13 |
|---|---|
| RGB | rgb(151, 158, 19) |
| HSL | hsl(63, 79%, 35%) |
| HSV | hsv(63, 88%, 62%) |
| CMYK | cmyk(4.4%, 0%, 88%, 38%) |
| CIE-LAB | lab(62.58, -17.87, 62.49) |
| CIE-LCH | lch(62.58, 64.99, 105.96°) |
| OKLab | oklab(67.13% -0.0565 0.1337) |
| OKLCH | oklch(67.13% 0.145 112.9) |
| XYZ | xyz(25.1078, 31.0807, 5.2925) |
| Luminance | 0.3108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.66
Baby Poop Green
#8F9805
ΔE00 2.12
Vomit
#A2A415
ΔE00 2.57
Pea Soup Green
#94A617
ΔE00 3.17
Puke
#A5A502
ΔE00 3.48
Baby Shit Green
#889717
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E13 #1A139E
analogous
#9E6013 #979E13 #519E13
triadic
#979E13 #13979E #9E1397
tetradic
#979E13 #139E60 #1A139E #9E1351
square
#979E13 #139E60 #1A139E #9E1351
split-complementary
#979E13 #13519E #60139E
monochromatic
#2F3106 #63670C #979E13 #CBD51A #E0E843
Accessibility & contrast
On white
2.91
#979E13 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#979E13 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E13
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E13 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9924
Tritanopia (blue-blind)
#A29486
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e13; /* rgb */ color: rgb(151, 158, 19); /* oklch */ color: oklch(67.1% 0.145 112.9);
Tailwind
colors: {
custom: {
50: '#baba63',
500: '#979e13',
950: '#000000',
},
}SCSS
$custom: #979e13; $custom-light: #baba63; $custom-dark: #000000;
JSON
{
"hex": "#979e13",
"rgb": {
"r": 151,
"g": 158,
"b": 19
},
"hsl": {
"h": 63.022,
"s": 78.531,
"l": 34.706
},
"oklch": {
"l": 0.67127,
"c": 0.14517,
"h": 112.9
},
"luminance": 0.3108
}Semantic roles & 50–950 ramp
primary
#979E13
secondary
#4B44C9
accent
#33F53D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A