#979531#979531
#979531 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.120 H 108.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #979531 |
|---|---|
| RGB | rgb(151, 149, 49) |
| HSL | hsl(59, 51%, 39%) |
| HSV | hsv(59, 68%, 59%) |
| CMYK | cmyk(0%, 1.3%, 67.5%, 40.8%) |
| CIE-LAB | lab(60.16, -11.94, 50.81) |
| CIE-LCH | lch(60.16, 52.19, 103.23°) |
| OKLab | oklab(65.24% -0.0375 0.1142) |
| OKLCH | oklch(65.24% 0.12 108.2) |
| XYZ | xyz(24.0652, 28.2967, 7.0993) |
| Luminance | 0.2830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.11
Baby Poop Green
#8F9805
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 4.68
Vomit
#A2A415
ΔE00 5.80
Puke
#A5A502
ΔE00 6.61
Pea Soup Green
#94A617
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979531 #313397
analogous
#976231 #979531 #669731
triadic
#979531 #319795 #953197
tetradic
#979531 #319762 #313397 #973166
square
#979531 #319762 #313397 #973166
split-complementary
#979531 #316697 #623197
monochromatic
#3B3A13 #696722 #979531 #C2C043 #D1CF71
Accessibility & contrast
On white
3.15
#979531 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#979531 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979531
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979531 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18F23
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#A28B81
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #979531; /* rgb */ color: rgb(151, 149, 49); /* oklch */ color: oklch(65.2% 0.120 108.2);
Tailwind
colors: {
custom: {
50: '#b8b36f',
500: '#979531',
950: '#000000',
},
}SCSS
$custom: #979531; $custom-light: #b8b36f; $custom-dark: #000000;
JSON
{
"hex": "#979531",
"rgb": {
"r": 151,
"g": 149,
"b": 49
},
"hsl": {
"h": 58.824,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.65241,
"c": 0.12018,
"h": 108.2
},
"luminance": 0.28296
}Semantic roles & 50–950 ramp
primary
#979531
secondary
#6B6CB9
accent
#50DA4D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B