#979626#979626
#979626 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.129 H 109.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #979626 |
|---|---|
| RGB | rgb(151, 150, 38) |
| HSL | hsl(59, 60%, 37%) |
| HSV | hsv(59, 75%, 59%) |
| CMYK | cmyk(0%, 0.7%, 74.8%, 40.8%) |
| CIE-LAB | lab(60.37, -13.05, 55.24) |
| CIE-LCH | lch(60.37, 56.76, 103.29°) |
| OKLab | oklab(65.39% -0.0418 0.1216) |
| OKLCH | oklch(65.39% 0.129 109) |
| XYZ | xyz(24.0196, 28.5327, 6.0754) |
| Luminance | 0.2853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.90
Baby Poop Green
#8F9805
ΔE00 3.04
Baby Shit Green
#889717
ΔE00 4.13
Vomit
#A2A415
ΔE00 4.85
Puke
#A5A502
ΔE00 5.61
Pea Soup Green
#94A617
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979626 #262797
analogous
#975E26 #979626 #609726
triadic
#979626 #269796 #962697
tetradic
#979626 #26975E #262797 #972660
square
#979626 #26975E #262797 #972660
split-complementary
#979626 #266097 #5E2697
monochromatic
#35350D #66651A #979626 #C8C732 #D7D660
Accessibility & contrast
On white
3.13
#979626 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#979626 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979626
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979626 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#A28C81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #979626; /* rgb */ color: rgb(151, 150, 38); /* oklch */ color: oklch(65.4% 0.129 109.0);
Tailwind
colors: {
custom: {
50: '#b9b469',
500: '#979626',
950: '#000000',
},
}SCSS
$custom: #979626; $custom-light: #b9b469; $custom-dark: #000000;
JSON
{
"hex": "#979626",
"rgb": {
"r": 151,
"g": 150,
"b": 38
},
"hsl": {
"h": 59.469,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.65386,
"c": 0.12852,
"h": 109
},
"luminance": 0.28532
}Semantic roles & 50–950 ramp
primary
#979626
secondary
#5C5DBC
accent
#46E345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A