#979E15#979E15
#979E15 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 | #979E15 |
|---|---|
| RGB | rgb(151, 158, 21) |
| HSL | hsl(63, 77%, 35%) |
| HSV | hsv(63, 87%, 62%) |
| CMYK | cmyk(4.4%, 0%, 86.7%, 38%) |
| CIE-LAB | lab(62.58, -17.82, 62.07) |
| CIE-LCH | lch(62.58, 64.57, 106.02°) |
| OKLab | oklab(67.13% -0.0563 0.1331) |
| OKLCH | oklch(67.13% 0.145 112.9) |
| XYZ | xyz(25.1256, 31.0878, 5.3863) |
| Luminance | 0.3109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.69
Baby Poop Green
#8F9805
ΔE00 2.12
Vomit
#A2A415
ΔE00 2.60
Pea Soup Green
#94A617
ΔE00 3.16
Puke
#A5A502
ΔE00 3.53
Baby Shit Green
#889717
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E15 #1C159E
analogous
#9E6115 #979E15 #529E15
triadic
#979E15 #15979E #9E1597
tetradic
#979E15 #159E61 #1C159E #9E1552
square
#979E15 #159E61 #1C159E #9E1552
split-complementary
#979E15 #15529E #61159E
monochromatic
#303207 #63680E #979E15 #CBD41C #DEE747
Accessibility & contrast
On white
2.91
#979E15 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#979E15 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E15
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E15 | 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)
#AB9925
Tritanopia (blue-blind)
#A29486
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e15; /* rgb */ color: rgb(151, 158, 21); /* oklch */ color: oklch(67.1% 0.145 112.9);
Tailwind
colors: {
custom: {
50: '#baba64',
500: '#979e15',
950: '#000000',
},
}SCSS
$custom: #979e15; $custom-light: #baba64; $custom-dark: #000000;
JSON
{
"hex": "#979e15",
"rgb": {
"r": 151,
"g": 158,
"b": 21
},
"hsl": {
"h": 63.066,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.67134,
"c": 0.14452,
"h": 112.9
},
"luminance": 0.31087
}Semantic roles & 50–950 ramp
primary
#979E15
secondary
#4E47C7
accent
#35F33E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A