#98AF22#98AF22
#98AF22 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.2% C 0.157 H 119.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #98AF22 |
|---|---|
| RGB | rgb(152, 175, 34) |
| HSL | hsl(70, 67%, 41%) |
| HSV | hsv(70, 81%, 69%) |
| CMYK | cmyk(13.1%, 0%, 80.6%, 31.4%) |
| CIE-LAB | lab(67.61, -25.48, 63.15) |
| CIE-LCH | lch(67.61, 68.09, 111.97°) |
| OKLab | oklab(71.21% -0.0765 0.1376) |
| OKLCH | oklch(71.21% 0.157 119.1) |
| XYZ | xyz(28.5682, 37.4510, 7.2368) |
| Luminance | 0.3745 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.45
Barf Green
#94AC02
ΔE00 1.57
Puke Green
#9AAE07
ΔE00 1.66
Icky Green
#8FAE22
ΔE00 1.89
Pea Green
#8EAB12
ΔE00 1.93
Booger Green
#96B403
ΔE00 2.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AF22 #3922AF
analogous
#AF7F22 #98AF22 #51AF22
triadic
#98AF22 #2298AF #AF2298
tetradic
#98AF22 #22AF7F #3922AF #AF2251
square
#98AF22 #22AF7F #3922AF #AF2251
split-complementary
#98AF22 #2251AF #7F22AF
monochromatic
#3F490E #6B7C18 #98AF22 #BED836 #CEE269
Accessibility & contrast
On white
2.47
#98AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#98AF22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AF22
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AF22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AF22 | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#A1A595
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #98af22; /* rgb */ color: rgb(152, 175, 34); /* oklch */ color: oklch(71.2% 0.157 119.1);
Tailwind
colors: {
custom: {
50: '#bac66b',
500: '#98af22',
950: '#000000',
},
}SCSS
$custom: #98af22; $custom-light: #bac66b; $custom-dark: #000000;
JSON
{
"hex": "#98af22",
"rgb": {
"r": 152,
"g": 175,
"b": 34
},
"hsl": {
"h": 69.787,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.71213,
"c": 0.15745,
"h": 119.1
},
"luminance": 0.37451
}Semantic roles & 50–950 ramp
primary
#98AF22
secondary
#7565C8
accent
#3DEA5A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A