#98BC2B#98BC2B
#98BC2B is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.168 H 123.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #98BC2B |
|---|---|
| RGB | rgb(152, 188, 43) |
| HSL | hsl(75, 63%, 45%) |
| HSV | hsv(75, 77%, 74%) |
| CMYK | cmyk(19.1%, 0%, 77.1%, 26.3%) |
| CIE-LAB | lab(71.43, -31.32, 63.95) |
| CIE-LCH | lch(71.43, 71.21, 116.09°) |
| OKLab | oklab(74.31% -0.0919 0.1408) |
| OKLCH | oklch(74.31% 0.168 123.1) |
| XYZ | xyz(31.3686, 42.8161, 8.8968) |
| Luminance | 0.4282 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.56
Gross Green
#A0BF16
ΔE00 2.42
Bright Olive
#9CBB04
ΔE00 2.49
Pea
#A4BF20
ΔE00 2.72
Snot Green
#9DC100
ΔE00 2.76
Booger
#9BB53C
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98BC2B #4F2BBC
analogous
#BC982B #98BC2B #4FBC2B
triadic
#98BC2B #2B98BC #BC2B98
tetradic
#98BC2B #2BBC98 #4F2BBC #BC2B4F
square
#98BC2B #2BBC98 #4F2BBC #BC2B4F
split-complementary
#98BC2B #2B4FBC #982BBC
monochromatic
#475814 #708A20 #98BC2B #B5D64E #C9E280
Accessibility & contrast
On white
2.20
#98BC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#98BC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98BC2B
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98BC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98BC2B | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #98bc2b; /* rgb */ color: rgb(152, 188, 43); /* oklch */ color: oklch(74.3% 0.168 123.1);
Tailwind
colors: {
custom: {
50: '#bad070',
500: '#98bc2b',
950: '#000000',
},
}SCSS
$custom: #98bc2b; $custom-light: #bad070; $custom-dark: #000000;
JSON
{
"hex": "#98bc2b",
"rgb": {
"r": 152,
"g": 188,
"b": 43
},
"hsl": {
"h": 74.897,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.74306,
"c": 0.16814,
"h": 123.1
},
"luminance": 0.42816
}Semantic roles & 50–950 ramp
primary
#98BC2B
secondary
#8D78CB
accent
#42E66B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B