#979F1F#979F1F
#979F1F is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.142 H 113.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #979F1F |
|---|---|
| RGB | rgb(151, 159, 31) |
| HSL | hsl(64, 67%, 37%) |
| HSV | hsv(64, 81%, 62%) |
| CMYK | cmyk(5%, 0%, 80.5%, 37.6%) |
| CIE-LAB | lab(62.91, -18.02, 59.80) |
| CIE-LCH | lch(62.91, 62.46, 106.77°) |
| OKLab | oklab(67.41% -0.0562 0.13) |
| OKLCH | oklch(67.41% 0.142 113.4) |
| XYZ | xyz(25.4088, 31.4751, 6.0329) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.24
Baby Poop Green
#8F9805
ΔE00 2.48
Pea Soup Green
#94A617
ΔE00 2.81
Vomit
#A2A415
ΔE00 2.81
Baby Shit Green
#889717
ΔE00 3.51
Vomit Green
#89A203
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979F1F #271F9F
analogous
#9F671F #979F1F #579F1F
triadic
#979F1F #1F979F #9F1F97
tetradic
#979F1F #1F9F67 #271F9F #9F1F57
square
#979F1F #1F9F67 #271F9F #9F1F57
split-complementary
#979F1F #1F579F #671F9F
monochromatic
#36390B #666C15 #979F1F #C8D229 #D6DF5A
Accessibility & contrast
On white
2.88
#979F1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#979F1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979F1F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979F1F | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979f1f; /* rgb */ color: rgb(151, 159, 31); /* oklch */ color: oklch(67.4% 0.142 113.4);
Tailwind
colors: {
custom: {
50: '#b9bb67',
500: '#979f1f',
950: '#000000',
},
}SCSS
$custom: #979f1f; $custom-light: #b9bb67; $custom-dark: #000000;
JSON
{
"hex": "#979f1f",
"rgb": {
"r": 151,
"g": 159,
"b": 31
},
"hsl": {
"h": 63.75,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.67406,
"c": 0.14158,
"h": 113.4
},
"luminance": 0.31475
}Semantic roles & 50–950 ramp
primary
#979F1F
secondary
#5E57C3
accent
#3EEA48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A