#979E2B#979E2B
#979E2B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.134 H 113.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #979E2B |
|---|---|
| RGB | rgb(151, 158, 43) |
| HSL | hsl(64, 57%, 39%) |
| HSV | hsv(64, 73%, 62%) |
| CMYK | cmyk(4.4%, 0%, 72.8%, 38%) |
| CIE-LAB | lab(62.68, -16.98, 55.66) |
| CIE-LCH | lch(62.68, 58.19, 106.97°) |
| OKLab | oklab(67.25% -0.0522 0.1234) |
| OKLCH | oklch(67.25% 0.134 113) |
| XYZ | xyz(25.4262, 31.2080, 6.9694) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.82
Baby Poop Green
#8F9805
ΔE00 2.88
Baby Shit Green
#889717
ΔE00 3.43
Pea Soup Green
#94A617
ΔE00 3.47
Vomit
#A2A415
ΔE00 3.56
Vomit Green
#89A203
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E2B #322B9E
analogous
#9E6C2B #979E2B #5E9E2B
triadic
#979E2B #2B979E #9E2B97
tetradic
#979E2B #2B9E6C #322B9E #9E2B5E
square
#979E2B #2B9E6C #322B9E #9E2B5E
split-complementary
#979E2B #2B5E9E #6C2B9E
monochromatic
#3B3E11 #696E1E #979E2B #C1CA3C #D1D76C
Accessibility & contrast
On white
2.90
#979E2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#979E2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E2B
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E2B | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#A19488
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979e2b; /* rgb */ color: rgb(151, 158, 43); /* oklch */ color: oklch(67.2% 0.134 113.0);
Tailwind
colors: {
custom: {
50: '#b9ba6d',
500: '#979e2b',
950: '#000000',
},
}SCSS
$custom: #979e2b; $custom-light: #b9ba6d; $custom-dark: #000000;
JSON
{
"hex": "#979e2b",
"rgb": {
"r": 151,
"g": 158,
"b": 43
},
"hsl": {
"h": 63.652,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.67247,
"c": 0.13396,
"h": 113
},
"luminance": 0.31207
}Semantic roles & 50–950 ramp
primary
#979E2B
secondary
#6C67BE
accent
#47E051
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A