#98AC20#98AC20
#98AC20 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.155 H 118.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #98AC20 |
|---|---|
| RGB | rgb(152, 172, 32) |
| HSL | hsl(69, 69%, 40%) |
| HSV | hsv(69, 81%, 67%) |
| CMYK | cmyk(11.6%, 0%, 81.4%, 32.5%) |
| CIE-LAB | lab(66.74, -24.08, 62.93) |
| CIE-LCH | lch(66.74, 67.38, 110.94°) |
| OKLab | oklab(70.5% -0.0728 0.1368) |
| OKLCH | oklch(70.5% 0.155 118) |
| XYZ | xyz(27.9628, 36.2850, 6.8968) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.37
Puke Green
#9AAE07
ΔE00 1.49
Pea Soup Green
#94A617
ΔE00 1.77
Pea Green
#8EAB12
ΔE00 1.97
Sickly Green
#94B21C
ΔE00 2.33
Icky Green
#8FAE22
ΔE00 2.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AC20 #3420AC
analogous
#AC7A20 #98AC20 #52AC20
triadic
#98AC20 #2098AC #AC2098
tetradic
#98AC20 #20AC7A #3420AC #AC2052
square
#98AC20 #20AC7A #3420AC #AC2052
split-complementary
#98AC20 #2052AC #7A20AC
monochromatic
#3D450D #6A7816 #98AC20 #C1D931 #D0E264
Accessibility & contrast
On white
2.54
#98AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#98AC20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AC20
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AC20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AC20 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ac20; /* rgb */ color: rgb(152, 172, 32); /* oklch */ color: oklch(70.5% 0.155 118.0);
Tailwind
colors: {
custom: {
50: '#bac46a',
500: '#98ac20',
950: '#000000',
},
}SCSS
$custom: #98ac20; $custom-light: #bac46a; $custom-dark: #000000;
JSON
{
"hex": "#98ac20",
"rgb": {
"r": 152,
"g": 172,
"b": 32
},
"hsl": {
"h": 68.571,
"s": 68.627,
"l": 40
},
"oklch": {
"l": 0.70504,
"c": 0.15496,
"h": 118
},
"luminance": 0.36285
}Semantic roles & 50–950 ramp
primary
#98AC20
secondary
#6F60C7
accent
#3CEB55
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A