#98AE21#98AE21
#98AE21 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.0% C 0.157 H 118.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #98AE21 |
|---|---|
| RGB | rgb(152, 174, 33) |
| HSL | hsl(69, 68%, 41%) |
| HSV | hsv(69, 81%, 68%) |
| CMYK | cmyk(12.6%, 0%, 81%, 31.8%) |
| CIE-LAB | lab(67.32, -25.03, 63.17) |
| CIE-LCH | lch(67.32, 67.94, 111.61°) |
| OKLab | oklab(70.97% -0.0754 0.1375) |
| OKLCH | oklch(70.97% 0.157 118.7) |
| XYZ | xyz(28.3601, 37.0575, 7.0973) |
| Luminance | 0.3706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.42
Puke Green
#9AAE07
ΔE00 1.52
Sickly Green
#94B21C
ΔE00 1.73
Pea Green
#8EAB12
ΔE00 1.89
Icky Green
#8FAE22
ΔE00 2.02
Booger Green
#96B403
ΔE00 2.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AE21 #3721AE
analogous
#AE7D21 #98AE21 #51AE21
triadic
#98AE21 #2198AE #AE2198
tetradic
#98AE21 #21AE7D #3721AE #AE2151
square
#98AE21 #21AE7D #3721AE #AE2151
split-complementary
#98AE21 #2151AE #7D21AE
monochromatic
#3E470D #6B7B17 #98AE21 #BFD834 #CFE267
Accessibility & contrast
On white
2.50
#98AE21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#98AE21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AE21
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AE21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AE21 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A2A495
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #98ae21; /* rgb */ color: rgb(152, 174, 33); /* oklch */ color: oklch(71.0% 0.157 118.7);
Tailwind
colors: {
custom: {
50: '#bac66a',
500: '#98ae21',
950: '#000000',
},
}SCSS
$custom: #98ae21; $custom-light: #bac66a; $custom-dark: #000000;
JSON
{
"hex": "#98ae21",
"rgb": {
"r": 152,
"g": 174,
"b": 33
},
"hsl": {
"h": 69.362,
"s": 68.116,
"l": 40.588
},
"oklch": {
"l": 0.70975,
"c": 0.15677,
"h": 118.7
},
"luminance": 0.37057
}Semantic roles & 50–950 ramp
primary
#98AE21
secondary
#7363C8
accent
#3DEB58
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A