#979C1F#979C1F
#979C1F is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.138 H 112.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #979C1F |
|---|---|
| RGB | rgb(151, 156, 31) |
| HSL | hsl(62, 67%, 37%) |
| HSV | hsv(62, 80%, 61%) |
| CMYK | cmyk(3.2%, 0%, 80.1%, 38.8%) |
| CIE-LAB | lab(62.05, -16.48, 59.04) |
| CIE-LCH | lch(62.05, 61.29, 105.59°) |
| OKLab | oklab(66.72% -0.0519 0.1283) |
| OKLCH | oklch(66.72% 0.138 112) |
| XYZ | xyz(24.8992, 30.4558, 5.8630) |
| Luminance | 0.3045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.72
Baby Poop Green
#8F9805
ΔE00 2.02
Vomit
#A2A415
ΔE00 3.14
Baby Shit Green
#889717
ΔE00 3.37
Pea Soup Green
#94A617
ΔE00 3.86
Puke
#A5A502
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979C1F #241F9C
analogous
#9C631F #979C1F #599C1F
triadic
#979C1F #1F979C #9C1F97
tetradic
#979C1F #1F9C63 #241F9C #9C1F59
square
#979C1F #1F9C63 #241F9C #9C1F59
split-complementary
#979C1F #1F599C #631F9C
monochromatic
#34360B #666915 #979C1F #C8CF29 #D8DE58
Accessibility & contrast
On white
2.96
#979C1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#979C1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979C1F
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979C1F | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A9972B
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #979c1f; /* rgb */ color: rgb(151, 156, 31); /* oklch */ color: oklch(66.7% 0.138 112.0);
Tailwind
colors: {
custom: {
50: '#b9b967',
500: '#979c1f',
950: '#000000',
},
}SCSS
$custom: #979c1f; $custom-light: #b9b967; $custom-dark: #000000;
JSON
{
"hex": "#979c1f",
"rgb": {
"r": 151,
"g": 156,
"b": 31
},
"hsl": {
"h": 62.4,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.66716,
"c": 0.13841,
"h": 112
},
"luminance": 0.30455
}Semantic roles & 50–950 ramp
primary
#979C1F
secondary
#5A55C1
accent
#3EEA45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A