#98AF2A#98AF2A
#98AF2A is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.153 H 119.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #98AF2A |
|---|---|
| RGB | rgb(152, 175, 42) |
| HSL | hsl(70, 61%, 43%) |
| HSV | hsv(70, 76%, 69%) |
| CMYK | cmyk(13.1%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(67.65, -25.14, 60.75) |
| CIE-LCH | lch(67.65, 65.75, 112.48°) |
| OKLab | oklab(71.26% -0.075 0.1339) |
| OKLCH | oklch(71.26% 0.153 119.2) |
| XYZ | xyz(28.6974, 37.5027, 7.9170) |
| Luminance | 0.3750 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.63
Icky Green
#8FAE22
ΔE00 1.74
Pea Green
#8EAB12
ΔE00 2.11
Barf Green
#94AC02
ΔE00 2.14
Booger
#9BB53C
ΔE00 2.28
Puke Green
#9AAE07
ΔE00 2.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AF2A #412AAF
analogous
#AF832A #98AF2A #55AF2A
triadic
#98AF2A #2A98AF #AF2A98
tetradic
#98AF2A #2AAF83 #412AAF #AF2A55
square
#98AF2A #2AAF83 #412AAF #AF2A55
split-complementary
#98AF2A #2A55AF #832AAF
monochromatic
#424C12 #6D7E1E #98AF2A #BAD244 #CCDE75
Accessibility & contrast
On white
2.47
#98AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#98AF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AF2A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AF2A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA508
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #98af2a; /* rgb */ color: rgb(152, 175, 42); /* oklch */ color: oklch(71.3% 0.153 119.2);
Tailwind
colors: {
custom: {
50: '#bac66e',
500: '#98af2a',
950: '#000000',
},
}SCSS
$custom: #98af2a; $custom-light: #bac66e; $custom-dark: #000000;
JSON
{
"hex": "#98af2a",
"rgb": {
"r": 152,
"g": 175,
"b": 42
},
"hsl": {
"h": 70.376,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.71256,
"c": 0.15346,
"h": 119.2
},
"luminance": 0.37503
}Semantic roles & 50–950 ramp
primary
#98AF2A
secondary
#7E6FC6
accent
#43E45F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B