#989E20#989E20
#989E20 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.140 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #989E20 |
|---|---|
| RGB | rgb(152, 158, 32) |
| HSL | hsl(63, 66%, 37%) |
| HSV | hsv(63, 80%, 62%) |
| CMYK | cmyk(3.8%, 0%, 79.7%, 38%) |
| CIE-LAB | lab(62.70, -17.03, 59.36) |
| CIE-LCH | lch(62.70, 61.75, 106.01°) |
| OKLab | oklab(67.27% -0.0534 0.1291) |
| OKLCH | oklch(67.27% 0.14 112.5) |
| XYZ | xyz(25.4373, 31.2340, 6.0550) |
| Luminance | 0.3123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.08
Baby Poop Green
#8F9805
ΔE00 2.40
Vomit
#A2A415
ΔE00 2.74
Pea Soup Green
#94A617
ΔE00 3.32
Baby Shit Green
#889717
ΔE00 3.62
Puke
#A5A502
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989E20 #26209E
analogous
#9E6520 #989E20 #599E20
triadic
#989E20 #20989E #9E2098
tetradic
#989E20 #209E65 #26209E #9E2059
square
#989E20 #209E65 #26209E #9E2059
split-complementary
#989E20 #20599E #65209E
monochromatic
#36380B #676B16 #989E20 #C9D12A #D7DE5B
Accessibility & contrast
On white
2.90
#989E20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#989E20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989E20
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989E20 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989e20; /* rgb */ color: rgb(152, 158, 32); /* oklch */ color: oklch(67.3% 0.140 112.5);
Tailwind
colors: {
custom: {
50: '#baba68',
500: '#989e20',
950: '#000000',
},
}SCSS
$custom: #989e20; $custom-light: #baba68; $custom-dark: #000000;
JSON
{
"hex": "#989e20",
"rgb": {
"r": 152,
"g": 158,
"b": 32
},
"hsl": {
"h": 62.857,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.67266,
"c": 0.13975,
"h": 112.5
},
"luminance": 0.31233
}Semantic roles & 50–950 ramp
primary
#989E20
secondary
#5D58C2
accent
#3FE947
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A