#979D1C#979D1C
#979D1C 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.16:1 contrast (WCAG AA passes).
Color values
| HEX | #979D1C |
|---|---|
| RGB | rgb(151, 157, 28) |
| HSL | hsl(63, 70%, 36%) |
| HSV | hsv(63, 82%, 62%) |
| CMYK | cmyk(3.8%, 0%, 82.2%, 38.4%) |
| CIE-LAB | lab(62.32, -17.10, 60.13) |
| CIE-LCH | lch(62.32, 62.51, 105.87°) |
| OKLab | oklab(66.93% -0.0538 0.1301) |
| OKLCH | oklch(66.93% 0.141 112.5) |
| XYZ | xyz(25.0299, 30.7777, 5.7206) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.69
Baby Poop Green
#8F9805
ΔE00 2.04
Vomit
#A2A415
ΔE00 2.89
Baby Shit Green
#889717
ΔE00 3.42
Pea Soup Green
#94A617
ΔE00 3.49
Puke
#A5A502
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979D1C #221C9D
analogous
#9D631C #979D1C #579D1C
triadic
#979D1C #1C979D #9D1C97
tetradic
#979D1C #1C9D63 #221C9D #9D1C57
square
#979D1C #1C9D63 #221C9D #9D1C57
split-complementary
#979D1C #1C579D #631C9D
monochromatic
#333509 #656913 #979D1C #C9D125 #DAE053
Accessibility & contrast
On white
2.93
#979D1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#979D1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979D1C
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979D1C | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA9829
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #979d1c; /* rgb */ color: rgb(151, 157, 28); /* oklch */ color: oklch(66.9% 0.141 112.5);
Tailwind
colors: {
custom: {
50: '#b9b966',
500: '#979d1c',
950: '#000000',
},
}SCSS
$custom: #979d1c; $custom-light: #b9b966; $custom-dark: #000000;
JSON
{
"hex": "#979d1c",
"rgb": {
"r": 151,
"g": 157,
"b": 28
},
"hsl": {
"h": 62.791,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.66932,
"c": 0.14081,
"h": 112.5
},
"luminance": 0.30777
}Semantic roles & 50–950 ramp
primary
#979D1C
secondary
#5751C3
accent
#3BED44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A