#98BF31#98BF31
#98BF31 is a light, vivid yellow-green. Relative luminance 0.442; OKLCH L 75.0% C 0.168 H 124.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #98BF31 |
|---|---|
| RGB | rgb(152, 191, 49) |
| HSL | hsl(76, 59%, 47%) |
| HSV | hsv(76, 74%, 75%) |
| CMYK | cmyk(20.4%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(72.33, -32.43, 62.87) |
| CIE-LCH | lch(72.33, 70.74, 117.29°) |
| OKLab | oklab(75.05% -0.0944 0.1395) |
| OKLCH | oklch(75.05% 0.168 124.1) |
| XYZ | xyz(32.1344, 44.1585, 9.7356) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.42
Gross Green
#A0BF16
ΔE00 2.89
Snot Green
#9DC100
ΔE00 3.05
Pea
#A4BF20
ΔE00 3.19
Bright Olive
#9CBB04
ΔE00 3.25
Booger
#9BB53C
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98BF31 #5831BF
analogous
#BF9F31 #98BF31 #51BF31
triadic
#98BF31 #3198BF #BF3198
tetradic
#98BF31 #31BF9F #5831BF #BF3151
square
#98BF31 #31BF9F #5831BF #BF3151
split-complementary
#98BF31 #3151BF #9F31BF
monochromatic
#4A5E18 #718E25 #98BF31 #B2D459 #C9E18A
Accessibility & contrast
On white
2.14
#98BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#98BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98BF31
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98BF31 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB312
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#9FB5A4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #98bf31; /* rgb */ color: rgb(152, 191, 49); /* oklch */ color: oklch(75.0% 0.168 124.1);
Tailwind
colors: {
custom: {
50: '#bad274',
500: '#98bf31',
950: '#000000',
},
}SCSS
$custom: #98bf31; $custom-light: #bad274; $custom-dark: #000000;
JSON
{
"hex": "#98bf31",
"rgb": {
"r": 152,
"g": 191,
"b": 49
},
"hsl": {
"h": 76.479,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.75048,
"c": 0.16847,
"h": 124.1
},
"luminance": 0.44159
}Semantic roles & 50–950 ramp
primary
#98BF31
secondary
#9581CB
accent
#45E271
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B