#98BC2F#98BC2F
#98BC2F is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.166 H 123.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #98BC2F |
|---|---|
| RGB | rgb(152, 188, 47) |
| HSL | hsl(75, 60%, 46%) |
| HSV | hsv(75, 75%, 74%) |
| CMYK | cmyk(19.1%, 0%, 75%, 26.3%) |
| CIE-LAB | lab(71.45, -31.13, 62.69) |
| CIE-LCH | lch(71.45, 69.99, 116.41°) |
| OKLab | oklab(74.33% -0.091 0.1388) |
| OKLCH | oklch(74.33% 0.166 123.3) |
| XYZ | xyz(31.4456, 42.8469, 9.3024) |
| Luminance | 0.4285 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.67
Booger
#9BB53C
ΔE00 2.64
Gross Green
#A0BF16
ΔE00 2.71
Bright Olive
#9CBB04
ΔE00 2.82
Pea
#A4BF20
ΔE00 2.95
Sickly Green
#94B21C
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98BC2F #532FBC
analogous
#BC992F #98BC2F #51BC2F
triadic
#98BC2F #2F98BC #BC2F98
tetradic
#98BC2F #2FBC99 #532FBC #BC2F51
square
#98BC2F #2FBC99 #532FBC #BC2F51
split-complementary
#98BC2F #2F51BC #992FBC
monochromatic
#495A17 #708B23 #98BC2F #B3D454 #C9E085
Accessibility & contrast
On white
2.19
#98BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#98BC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98BC2F
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98BC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98BC2F | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00E
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #98bc2f; /* rgb */ color: rgb(152, 188, 47); /* oklch */ color: oklch(74.3% 0.166 123.3);
Tailwind
colors: {
custom: {
50: '#bad072',
500: '#98bc2f',
950: '#000000',
},
}SCSS
$custom: #98bc2f; $custom-light: #bad072; $custom-dark: #000000;
JSON
{
"hex": "#98bc2f",
"rgb": {
"r": 152,
"g": 188,
"b": 47
},
"hsl": {
"h": 75.319,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.7433,
"c": 0.166,
"h": 123.3
},
"luminance": 0.42847
}Semantic roles & 50–950 ramp
primary
#98BC2F
secondary
#917DCA
accent
#45E36D
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B