#979E2D#979E2D
#979E2D is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.133 H 113.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #979E2D |
|---|---|
| RGB | rgb(151, 158, 45) |
| HSL | hsl(64, 56%, 40%) |
| HSV | hsv(64, 72%, 62%) |
| CMYK | cmyk(4.4%, 0%, 71.5%, 38%) |
| CIE-LAB | lab(62.70, -16.88, 54.93) |
| CIE-LCH | lch(62.70, 57.46, 107.08°) |
| OKLab | oklab(67.26% -0.0518 0.1222) |
| OKLCH | oklch(67.26% 0.133 113) |
| XYZ | xyz(25.4638, 31.2230, 7.1674) |
| Luminance | 0.3122 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.00
Baby Poop Green
#8F9805
ΔE00 3.03
Baby Shit Green
#889717
ΔE00 3.47
Pea Soup Green
#94A617
ΔE00 3.57
Vomit
#A2A415
ΔE00 3.72
Vomit Green
#89A203
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979E2D #342D9E
analogous
#9E6D2D #979E2D #5E9E2D
triadic
#979E2D #2D979E #9E2D97
tetradic
#979E2D #2D9E6D #342D9E #9E2D5E
square
#979E2D #2D9E6D #342D9E #9E2D5E
split-complementary
#979E2D #2D5E9E #6D2D9E
monochromatic
#3C3F12 #696E1F #979E2D #C0C940 #D0D66F
Accessibility & contrast
On white
2.90
#979E2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#979E2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #979E2D
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979E2D | 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)
#AA9619
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#A19488
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #979e2d; /* rgb */ color: rgb(151, 158, 45); /* oklch */ color: oklch(67.3% 0.133 113.0);
Tailwind
colors: {
custom: {
50: '#b9ba6e',
500: '#979e2d',
950: '#000000',
},
}SCSS
$custom: #979e2d; $custom-light: #b9ba6e; $custom-dark: #000000;
JSON
{
"hex": "#979e2d",
"rgb": {
"r": 151,
"g": 158,
"b": 45
},
"hsl": {
"h": 63.717,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.67261,
"c": 0.13268,
"h": 113
},
"luminance": 0.31222
}Semantic roles & 50–950 ramp
primary
#979E2D
secondary
#6F69BD
accent
#49DF52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B