#979F25#979F25
#979F25 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.139 H 113.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #979F25 |
|---|---|
| RGB | rgb(151, 159, 37) |
| HSL | hsl(64, 62%, 38%) |
| HSV | hsv(64, 77%, 62%) |
| CMYK | cmyk(5%, 0%, 76.7%, 37.6%) |
| CIE-LAB | lab(62.94, -17.78, 57.98) |
| CIE-LCH | lch(62.94, 60.64, 107.05°) |
| OKLab | oklab(67.44% -0.055 0.1272) |
| OKLCH | oklch(67.44% 0.139 113.4) |
| XYZ | xyz(25.4954, 31.5097, 6.4888) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.55
Baby Poop Green
#8F9805
ΔE00 2.69
Pea Soup Green
#94A617
ΔE00 2.92
Vomit
#A2A415
ΔE00 3.11
Baby Shit Green
#889717
ΔE00 3.46
Vomit Green
#89A203
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979F25 #2D259F
analogous
#9F6A25 #979F25 #5A9F25
triadic
#979F25 #25979F #9F2597
tetradic
#979F25 #259F6A #2D259F #9F255A
square
#979F25 #259F6A #2D259F #9F255A
split-complementary
#979F25 #255A9F #6A259F
monochromatic
#393C0E #686D19 #979F25 #C5CF32 #D3DB64
Accessibility & contrast
On white
2.88
#979F25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#979F25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979F25
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979F25 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9705
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#A19588
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979f25; /* rgb */ color: rgb(151, 159, 37); /* oklch */ color: oklch(67.4% 0.139 113.4);
Tailwind
colors: {
custom: {
50: '#b9bb6a',
500: '#979f25',
950: '#000000',
},
}SCSS
$custom: #979f25; $custom-light: #b9bb6a; $custom-dark: #000000;
JSON
{
"hex": "#979f25",
"rgb": {
"r": 151,
"g": 159,
"b": 37
},
"hsl": {
"h": 63.934,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.67439,
"c": 0.13855,
"h": 113.4
},
"luminance": 0.31509
}Semantic roles & 50–950 ramp
primary
#979F25
secondary
#665FC0
accent
#42E54D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A