#979526#979526
#979526 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.2% C 0.128 H 108.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #979526 |
|---|---|
| RGB | rgb(151, 149, 38) |
| HSL | hsl(59, 60%, 37%) |
| HSV | hsv(59, 75%, 59%) |
| CMYK | cmyk(0%, 1.3%, 74.8%, 40.8%) |
| CIE-LAB | lab(60.08, -12.52, 54.97) |
| CIE-LCH | lch(60.08, 56.38, 102.83°) |
| OKLab | oklab(65.16% -0.0403 0.121) |
| OKLCH | oklch(65.16% 0.128 108.4) |
| XYZ | xyz(23.8607, 28.2149, 6.0225) |
| Luminance | 0.2821 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.18
Baby Poop Green
#8F9805
ΔE00 3.31
Baby Shit Green
#889717
ΔE00 4.37
Vomit
#A2A415
ΔE00 5.15
Puke
#A5A502
ΔE00 5.87
Pea Soup Green
#94A617
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979526 #262897
analogous
#975D26 #979526 #619726
triadic
#979526 #269795 #952697
tetradic
#979526 #26975D #262897 #972661
square
#979526 #26975D #262897 #972661
split-complementary
#979526 #266197 #5D2697
monochromatic
#35350D #66651A #979526 #C8C532 #D7D560
Accessibility & contrast
On white
3.16
#979526 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#979526 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979526
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979526 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F0F
Deuteranopia (green-blind)
#A3932F
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #979526; /* rgb */ color: rgb(151, 149, 38); /* oklch */ color: oklch(65.2% 0.128 108.4);
Tailwind
colors: {
custom: {
50: '#b9b369',
500: '#979526',
950: '#000000',
},
}SCSS
$custom: #979526; $custom-light: #b9b369; $custom-dark: #000000;
JSON
{
"hex": "#979526",
"rgb": {
"r": 151,
"g": 149,
"b": 38
},
"hsl": {
"h": 58.938,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.65158,
"c": 0.12752,
"h": 108.4
},
"luminance": 0.28214
}Semantic roles & 50–950 ramp
primary
#979526
secondary
#5C5EBC
accent
#48E345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A