#989420#989420
#989420 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.0% C 0.130 H 107.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #989420 |
|---|---|
| RGB | rgb(152, 148, 32) |
| HSL | hsl(58, 65%, 36%) |
| HSV | hsv(58, 79%, 60%) |
| CMYK | cmyk(0%, 2.6%, 78.9%, 40.4%) |
| CIE-LAB | lab(59.85, -11.80, 56.81) |
| CIE-LCH | lch(59.85, 58.02, 101.74°) |
| OKLab | oklab(64.99% -0.0389 0.1237) |
| OKLCH | oklch(64.99% 0.13 107.4) |
| XYZ | xyz(23.8005, 27.9603, 5.5094) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.34
Baby Poop Green
#8F9805
ΔE00 3.58
Baby Shit Green
#889717
ΔE00 4.91
Vomit
#A2A415
ΔE00 5.25
Puke
#A5A502
ΔE00 5.83
Baby Poo
#AB9004
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989420 #202498
analogous
#985820 #989420 #609820
triadic
#989420 #209894 #942098
tetradic
#989420 #209858 #202498 #982060
square
#989420 #209858 #202498 #982060
split-complementary
#989420 #206098 #582098
monochromatic
#33320B #656315 #989420 #CBC52B #DCD757
Accessibility & contrast
On white
3.19
#989420 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#989420 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #989420
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989420 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989420 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#A48A7F
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #989420; /* rgb */ color: rgb(152, 148, 32); /* oklch */ color: oklch(65.0% 0.130 107.4);
Tailwind
colors: {
custom: {
50: '#bab366',
500: '#989420',
950: '#000000',
},
}SCSS
$custom: #989420; $custom-light: #bab366; $custom-dark: #000000;
JSON
{
"hex": "#989420",
"rgb": {
"r": 152,
"g": 148,
"b": 32
},
"hsl": {
"h": 58,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.64986,
"c": 0.12965,
"h": 107.4
},
"luminance": 0.27959
}Semantic roles & 50–950 ramp
primary
#989420
secondary
#5458BF
accent
#45E840
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A