#98A921#98A921
#98A921 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.151 H 117.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #98A921 |
|---|---|
| RGB | rgb(152, 169, 33) |
| HSL | hsl(68, 67%, 40%) |
| HSV | hsv(68, 80%, 66%) |
| CMYK | cmyk(10.1%, 0%, 80.5%, 33.7%) |
| CIE-LAB | lab(65.87, -22.56, 61.89) |
| CIE-LCH | lch(65.87, 65.87, 110.03°) |
| OKLab | oklab(69.81% -0.0686 0.1347) |
| OKLCH | oklch(69.81% 0.151 117) |
| XYZ | xyz(27.4121, 35.1615, 6.7813) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.06
Barf Green
#94AC02
ΔE00 1.91
Puke Green
#9AAE07
ΔE00 2.04
Pea Green
#8EAB12
ΔE00 2.46
Icky Green
#8FAE22
ΔE00 3.05
Vomit Green
#89A203
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A921 #3221A9
analogous
#A97621 #98A921 #54A921
triadic
#98A921 #2198A9 #A92198
tetradic
#98A921 #21A976 #3221A9 #A92154
square
#98A921 #21A976 #3221A9 #A92154
split-complementary
#98A921 #2154A9 #7621A9
monochromatic
#3C430D #6A7617 #98A921 #C2D731 #D1E164
Accessibility & contrast
On white
2.61
#98A921 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#98A921 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A921
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A921 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A921 | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#A29F90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #98a921; /* rgb */ color: rgb(152, 169, 33); /* oklch */ color: oklch(69.8% 0.151 117.0);
Tailwind
colors: {
custom: {
50: '#bac26a',
500: '#98a921',
950: '#000000',
},
}SCSS
$custom: #98a921; $custom-light: #bac26a; $custom-dark: #000000;
JSON
{
"hex": "#98a921",
"rgb": {
"r": 152,
"g": 169,
"b": 33
},
"hsl": {
"h": 67.5,
"s": 67.327,
"l": 39.608
},
"oklch": {
"l": 0.69811,
"c": 0.15118,
"h": 117
},
"luminance": 0.35161
}Semantic roles & 50–950 ramp
primary
#98A921
secondary
#6D60C6
accent
#3EEA53
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A