#979826#979826
#979826 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.8% C 0.131 H 110.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #979826 |
|---|---|
| RGB | rgb(151, 152, 38) |
| HSL | hsl(61, 60%, 37%) |
| HSV | hsv(61, 75%, 60%) |
| CMYK | cmyk(0.7%, 0%, 75%, 40.4%) |
| CIE-LAB | lab(60.94, -14.10, 55.78) |
| CIE-LCH | lch(60.94, 57.53, 104.19°) |
| OKLab | oklab(65.84% -0.0447 0.1227) |
| OKLCH | oklch(65.84% 0.131 110) |
| XYZ | xyz(24.3415, 29.1764, 6.1827) |
| Luminance | 0.2918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.46
Baby Poop Green
#8F9805
ΔE00 2.62
Baby Shit Green
#889717
ΔE00 3.72
Vomit
#A2A415
ΔE00 4.31
Puke
#A5A502
ΔE00 5.15
Pea Soup Green
#94A617
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979826 #272698
analogous
#986026 #979826 #5E9826
triadic
#979826 #269798 #982697
tetradic
#979826 #269860 #272698 #98265E
square
#979826 #269860 #272698 #98265E
split-complementary
#979826 #265E98 #602698
monochromatic
#36360E #66671A #979826 #C8C932 #D6D761
Accessibility & contrast
On white
3.07
#979826 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#979826 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979826
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979826 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4910D
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A28E82
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #979826; /* rgb */ color: rgb(151, 152, 38); /* oklch */ color: oklch(65.8% 0.131 110.0);
Tailwind
colors: {
custom: {
50: '#b9b66a',
500: '#979826',
950: '#000000',
},
}SCSS
$custom: #979826; $custom-light: #b9b66a; $custom-dark: #000000;
JSON
{
"hex": "#979826",
"rgb": {
"r": 151,
"g": 152,
"b": 38
},
"hsl": {
"h": 60.526,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.65841,
"c": 0.13058,
"h": 110
},
"luminance": 0.29176
}Semantic roles & 50–950 ramp
primary
#979826
secondary
#5E5DBD
accent
#45E346
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A