#979527#979527
#979527 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.2% C 0.127 H 108.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #979527 |
|---|---|
| RGB | rgb(151, 149, 39) |
| HSL | hsl(59, 59%, 37%) |
| HSV | hsv(59, 74%, 59%) |
| CMYK | cmyk(0%, 1.3%, 74.2%, 40.8%) |
| CIE-LAB | lab(60.09, -12.48, 54.62) |
| CIE-LCH | lch(60.09, 56.03, 102.87°) |
| OKLab | oklab(65.16% -0.0401 0.1204) |
| OKLCH | oklch(65.16% 0.127 108.4) |
| XYZ | xyz(23.8771, 28.2215, 6.1086) |
| Luminance | 0.2822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.24
Baby Poop Green
#8F9805
ΔE00 3.36
Baby Shit Green
#889717
ΔE00 4.39
Vomit
#A2A415
ΔE00 5.20
Puke
#A5A502
ΔE00 5.93
Pea Soup Green
#94A617
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979527 #272997
analogous
#975D27 #979527 #619727
triadic
#979527 #279795 #952797
tetradic
#979527 #27975D #272997 #972761
square
#979527 #27975D #272997 #972761
split-complementary
#979527 #276197 #5D2797
monochromatic
#36350E #66651A #979527 #C8C534 #D6D462
Accessibility & contrast
On white
3.16
#979527 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#979527 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979527
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979527 | 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)
#A28F11
Deuteranopia (green-blind)
#A3932F
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #979527; /* rgb */ color: rgb(151, 149, 39); /* oklch */ color: oklch(65.2% 0.127 108.4);
Tailwind
colors: {
custom: {
50: '#b9b36a',
500: '#979527',
950: '#000000',
},
}SCSS
$custom: #979527; $custom-light: #b9b36a; $custom-dark: #000000;
JSON
{
"hex": "#979527",
"rgb": {
"r": 151,
"g": 149,
"b": 39
},
"hsl": {
"h": 58.929,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.65165,
"c": 0.12692,
"h": 108.4
},
"luminance": 0.28221
}Semantic roles & 50–950 ramp
primary
#979527
secondary
#5E60BC
accent
#48E246
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A