#979D1B#979D1B
#979D1B is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.141 H 112.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #979D1B |
|---|---|
| RGB | rgb(151, 157, 27) |
| HSL | hsl(63, 71%, 36%) |
| HSV | hsv(63, 83%, 62%) |
| CMYK | cmyk(3.8%, 0%, 82.8%, 38.4%) |
| CIE-LAB | lab(62.32, -17.13, 60.39) |
| CIE-LCH | lch(62.32, 62.77, 105.84°) |
| OKLab | oklab(66.93% -0.054 0.1305) |
| OKLCH | oklch(66.93% 0.141 112.5) |
| XYZ | xyz(25.0182, 30.7730, 5.6586) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.65
Baby Poop Green
#8F9805
ΔE00 2.02
Vomit
#A2A415
ΔE00 2.86
Baby Shit Green
#889717
ΔE00 3.44
Pea Soup Green
#94A617
ΔE00 3.49
Puke
#A5A502
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979D1B #211B9D
analogous
#9D621B #979D1B #569D1B
triadic
#979D1B #1B979D #9D1B97
tetradic
#979D1B #1B9D62 #211B9D #9D1B56
square
#979D1B #1B9D62 #211B9D #9D1B56
split-complementary
#979D1B #1B569D #621B9D
monochromatic
#333509 #656912 #979D1B #C9D124 #DAE151
Accessibility & contrast
On white
2.94
#979D1B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#979D1B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979D1B
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979D1B | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA9828
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979d1b; /* rgb */ color: rgb(151, 157, 27); /* oklch */ color: oklch(66.9% 0.141 112.5);
Tailwind
colors: {
custom: {
50: '#b9b966',
500: '#979d1b',
950: '#000000',
},
}SCSS
$custom: #979d1b; $custom-light: #b9b966; $custom-dark: #000000;
JSON
{
"hex": "#979d1b",
"rgb": {
"r": 151,
"g": 157,
"b": 27
},
"hsl": {
"h": 62.769,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.66927,
"c": 0.14124,
"h": 112.5
},
"luminance": 0.30772
}Semantic roles & 50–950 ramp
primary
#979D1B
secondary
#5550C4
accent
#3AED43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A