#979E1F#979E1F
#979E1F is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.141 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #979E1F |
|---|---|
| RGB | rgb(151, 158, 31) |
| HSL | hsl(63, 67%, 37%) |
| HSV | hsv(63, 80%, 62%) |
| CMYK | cmyk(4.4%, 0%, 80.4%, 38%) |
| CIE-LAB | lab(62.62, -17.51, 59.55) |
| CIE-LCH | lch(62.62, 62.07, 106.38°) |
| OKLab | oklab(67.18% -0.0547 0.1294) |
| OKLCH | oklch(67.18% 0.141 112.9) |
| XYZ | xyz(25.2375, 31.1325, 5.9758) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.02
Baby Poop Green
#8F9805
ΔE00 2.28
Vomit
#A2A415
ΔE00 2.88
Pea Soup Green
#94A617
ΔE00 3.15
Baby Shit Green
#889717
ΔE00 3.43
Puke
#A5A502
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E1F #261F9E
analogous
#9E661F #979E1F #589E1F
triadic
#979E1F #1F979E #9E1F97
tetradic
#979E1F #1F9E66 #261F9E #9E1F58
square
#979E1F #1F9E66 #261F9E #9E1F58
split-complementary
#979E1F #1F589E #661F9E
monochromatic
#35380B #666B15 #979E1F #C8D129 #D7DE59
Accessibility & contrast
On white
2.91
#979E1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#979E1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E1F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E1F | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979e1f; /* rgb */ color: rgb(151, 158, 31); /* oklch */ color: oklch(67.2% 0.141 112.9);
Tailwind
colors: {
custom: {
50: '#b9ba67',
500: '#979e1f',
950: '#000000',
},
}SCSS
$custom: #979e1f; $custom-light: #b9ba67; $custom-dark: #000000;
JSON
{
"hex": "#979e1f",
"rgb": {
"r": 151,
"g": 158,
"b": 31
},
"hsl": {
"h": 63.307,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.67176,
"c": 0.14051,
"h": 112.9
},
"luminance": 0.31132
}Semantic roles & 50–950 ramp
primary
#979E1F
secondary
#5C56C2
accent
#3EEA47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A