#979B25#979B25
#979B25 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.134 H 111.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #979B25 |
|---|---|
| RGB | rgb(151, 155, 37) |
| HSL | hsl(62, 61%, 38%) |
| HSV | hsv(62, 76%, 61%) |
| CMYK | cmyk(2.6%, 0%, 76.1%, 39.2%) |
| CIE-LAB | lab(61.79, -15.71, 56.91) |
| CIE-LCH | lch(61.79, 59.04, 105.43°) |
| OKLab | oklab(66.52% -0.0493 0.1249) |
| OKLCH | oklch(66.52% 0.134 111.5) |
| XYZ | xyz(24.8186, 30.1562, 6.2633) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.09
Baby Poop Green
#8F9805
ΔE00 2.28
Baby Shit Green
#889717
ΔE00 3.37
Vomit
#A2A415
ΔE00 3.58
Pea Soup Green
#94A617
ΔE00 4.31
Puke
#A5A502
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979B25 #29259B
analogous
#9B6425 #979B25 #5C9B25
triadic
#979B25 #25979B #9B2597
tetradic
#979B25 #259B64 #29259B #9B255C
square
#979B25 #259B64 #29259B #9B255C
split-complementary
#979B25 #255C9B #64259B
monochromatic
#37380D #676A19 #979B25 #C7CC31 #D5D961
Accessibility & contrast
On white
2.99
#979B25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#979B25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979B25
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979B25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979B25 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79408
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#A29185
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #979b25; /* rgb */ color: rgb(151, 155, 37); /* oklch */ color: oklch(66.5% 0.134 111.5);
Tailwind
colors: {
custom: {
50: '#b9b869',
500: '#979b25',
950: '#000000',
},
}SCSS
$custom: #979b25; $custom-light: #b9b869; $custom-dark: #000000;
JSON
{
"hex": "#979b25",
"rgb": {
"r": 151,
"g": 155,
"b": 37
},
"hsl": {
"h": 62.034,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.6652,
"c": 0.13428,
"h": 111.5
},
"luminance": 0.30156
}Semantic roles & 50–950 ramp
primary
#979B25
secondary
#615DBF
accent
#43E549
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A