#98AC21#98AC21
#98AC21 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 | #98AC21 |
|---|---|
| RGB | rgb(152, 172, 33) |
| HSL | hsl(69, 68%, 40%) |
| HSV | hsv(69, 81%, 67%) |
| CMYK | cmyk(11.6%, 0%, 80.8%, 32.5%) |
| CIE-LAB | lab(66.74, -24.04, 62.65) |
| CIE-LCH | lch(66.74, 67.11, 110.99°) |
| OKLab | oklab(70.51% -0.0727 0.1364) |
| OKLCH | oklch(70.51% 0.155 118) |
| XYZ | xyz(27.9766, 36.2905, 6.9695) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.43
Puke Green
#9AAE07
ΔE00 1.56
Pea Soup Green
#94A617
ΔE00 1.78
Pea Green
#8EAB12
ΔE00 1.98
Sickly Green
#94B21C
ΔE00 2.33
Icky Green
#8FAE22
ΔE00 2.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AC21 #3521AC
analogous
#AC7A21 #98AC21 #53AC21
triadic
#98AC21 #2198AC #AC2198
tetradic
#98AC21 #21AC7A #3521AC #AC2153
square
#98AC21 #21AC7A #3521AC #AC2153
split-complementary
#98AC21 #2153AC #7A21AC
monochromatic
#3D450D #6B7917 #98AC21 #C0D832 #D0E266
Accessibility & contrast
On white
2.54
#98AC21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#98AC21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AC21
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AC21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AC21 | 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: #98ac21; /* rgb */ color: rgb(152, 172, 33); /* oklch */ color: oklch(70.5% 0.155 118.0);
Tailwind
colors: {
custom: {
50: '#bac46a',
500: '#98ac21',
950: '#000000',
},
}SCSS
$custom: #98ac21; $custom-light: #bac46a; $custom-dark: #000000;
JSON
{
"hex": "#98ac21",
"rgb": {
"r": 152,
"g": 172,
"b": 33
},
"hsl": {
"h": 68.633,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.70509,
"c": 0.15452,
"h": 118
},
"luminance": 0.3629
}Semantic roles & 50–950 ramp
primary
#98AC21
secondary
#7062C7
accent
#3DEB56
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A