#98BB2A#98BB2A
#98BB2A is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.1% C 0.167 H 122.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #98BB2A |
|---|---|
| RGB | rgb(152, 187, 42) |
| HSL | hsl(74, 63%, 45%) |
| HSV | hsv(74, 78%, 73%) |
| CMYK | cmyk(18.7%, 0%, 77.5%, 26.7%) |
| CIE-LAB | lab(71.13, -30.90, 63.99) |
| CIE-LCH | lch(71.13, 71.06, 115.77°) |
| OKLab | oklab(74.07% -0.0908 0.1407) |
| OKLCH | oklch(74.07% 0.167 122.8) |
| XYZ | xyz(31.1376, 42.3831, 8.7304) |
| Luminance | 0.4238 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.33
Bright Olive
#9CBB04
ΔE00 2.36
Gross Green
#A0BF16
ΔE00 2.40
Sickly Green
#94B21C
ΔE00 2.56
Booger
#9BB53C
ΔE00 2.63
Pea
#A4BF20
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98BB2A #4D2ABB
analogous
#BB962A #98BB2A #4FBB2A
triadic
#98BB2A #2A98BB #BB2A98
tetradic
#98BB2A #2ABB96 #4D2ABB #BB2A4F
square
#98BB2A #2ABB96 #4D2ABB #BB2A4F
split-complementary
#98BB2A #2A4FBB #962ABB
monochromatic
#475714 #6F891F #98BB2A #B5D74C #CAE27D
Accessibility & contrast
On white
2.22
#98BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#98BB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98BB2A
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98BB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98BB2A | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #98bb2a; /* rgb */ color: rgb(152, 187, 42); /* oklch */ color: oklch(74.1% 0.167 122.8);
Tailwind
colors: {
custom: {
50: '#bacf70',
500: '#98bb2a',
950: '#000000',
},
}SCSS
$custom: #98bb2a; $custom-light: #bacf70; $custom-dark: #000000;
JSON
{
"hex": "#98bb2a",
"rgb": {
"r": 152,
"g": 187,
"b": 42
},
"hsl": {
"h": 74.483,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.74066,
"c": 0.16746,
"h": 122.8
},
"luminance": 0.42383
}Semantic roles & 50–950 ramp
primary
#98BB2A
secondary
#8B76CA
accent
#41E669
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B