#979028#979028
#979028 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.0% C 0.121 H 105.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #979028 |
|---|---|
| RGB | rgb(151, 144, 40) |
| HSL | hsl(56, 58%, 37%) |
| HSV | hsv(56, 74%, 59%) |
| CMYK | cmyk(0%, 4.6%, 73.5%, 40.8%) |
| CIE-LAB | lab(58.68, -9.77, 52.90) |
| CIE-LCH | lch(58.68, 53.80, 100.46°) |
| OKLab | oklab(64.04% -0.0323 0.117) |
| OKLCH | oklch(64.04% 0.121 105.5) |
| XYZ | xyz(23.1197, 26.6799, 5.9390) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.96
Baby Poop Green
#8F9805
ΔE00 5.05
Baby Shit Green
#889717
ΔE00 5.93
Baby Poo
#AB9004
ΔE00 6.62
Olive
#808000
ΔE00 6.69
Vomit
#A2A415
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979028 #282F97
analogous
#975828 #979028 #679728
triadic
#979028 #289790 #902897
tetradic
#979028 #289758 #282F97 #972867
square
#979028 #289758 #282F97 #972867
split-complementary
#979028 #286797 #582897
monochromatic
#36340E #67621B #979028 #C7BE35 #D6CF64
Accessibility & contrast
On white
3.31
#979028 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#979028 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979028
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979028 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #979028; /* rgb */ color: rgb(151, 144, 40); /* oklch */ color: oklch(64.0% 0.121 105.5);
Tailwind
colors: {
custom: {
50: '#b9b06a',
500: '#979028',
950: '#000000',
},
}SCSS
$custom: #979028; $custom-light: #b9b06a; $custom-dark: #000000;
JSON
{
"hex": "#979028",
"rgb": {
"r": 151,
"g": 144,
"b": 40
},
"hsl": {
"h": 56.216,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.64042,
"c": 0.12137,
"h": 105.5
},
"luminance": 0.26679
}Semantic roles & 50–950 ramp
primary
#979028
secondary
#5F65BC
accent
#50E146
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A