#98FA52#98FA52

#98FA52 is a very light, highly saturated yellow-green. Relative luminance 0.757; OKLCH L 89.2% C 0.220 H 134.8°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#98FA52
RGBrgb(152, 250, 82)
HSLhsl(95, 94%, 65%)
HSVhsv(95, 67%, 98%)
CMYKcmyk(39.2%, 0%, 67.2%, 2%)
CIE-LABlab(89.70, -55.62, 68.51)
CIE-LCHlch(89.70, 88.24, 129.07°)
OKLaboklab(89.25% -0.1551 0.156)
OKLCHoklch(89.25% 0.22 134.8)
XYZxyz(48.6565, 75.6533, 20.0198)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98FA52 #B452FA
analogous
#ECFA52 #98FA52 #52FA60
triadic
#98FA52 #5298FA #FA5298
tetradic
#98FA52 #52ECFA #B452FA #FA6052
square
#98FA52 #52ECFA #B452FA #FA6052
split-complementary
#98FA52 #6052FA #FA52EC
monochromatic
#58CC06 #75F817 #98FA52 #BBFC8D #DFFDC9

Accessibility & contrast

On white

1.30
#98FA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#98FA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98FA52
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98FA52#FFFFFF#000000##000000
##98FA521.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE739
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#96F1D8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #98fa52;
/* rgb */ color: rgb(152, 250, 82);
/* oklch */ color: oklch(89.2% 0.220 134.8);
Tailwind
colors: {
  custom: {
    50: '#bdfc8b',
    500: '#98fa52',
    950: '#000000',
  },
}
SCSS
$custom: #98fa52;
$custom-light: #bdfc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98fa52",
  "rgb": {
    "r": 152,
    "g": 250,
    "b": 82
  },
  "hsl": {
    "h": 95,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.89249,
    "c": 0.22002,
    "h": 134.8
  },
  "luminance": 0.75656
}

Semantic roles & 50–950 ramp

primary
#98FA52
secondary
#8529C7
accent
#00E686
background
#FDFFFC
surface
#F9FFF4
border
#D2D7CE
text
#13170C
muted
#82857F

Preview Lab

Preview with #98FA52

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#98FA52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva