#98E252#98E252

#98E252 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 83.6% C 0.190 H 132.4°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#98E252
RGBrgb(152, 226, 82)
HSLhsl(91, 71%, 60%)
HSVhsv(91, 64%, 89%)
CMYKcmyk(32.7%, 0%, 63.7%, 11.4%)
CIE-LABlab(82.74, -45.78, 61.11)
CIE-LCHlch(82.74, 76.35, 126.84°)
OKLaboklab(83.57% -0.1283 0.1405)
OKLCHoklch(83.57% 0.19 132.4)
XYZxyz(41.6677, 61.6758, 17.6902)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98E252 #9C52E2
analogous
#E0E252 #98E252 #52E254
triadic
#98E252 #5298E2 #E25298
tetradic
#98E252 #52E0E2 #9C52E2 #E25452
square
#98E252 #52E0E2 #9C52E2 #E25452
split-complementary
#98E252 #5452E2 #E252E0
monochromatic
#5B9F1B #79D323 #98E252 #B7EB86 #D6F4BB

Accessibility & contrast

On white

1.57
#98E252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#98E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98E252
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98E252#FFFFFF#000000##000000
##98E2521.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#99D9C4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #98e252;
/* rgb */ color: rgb(152, 226, 82);
/* oklch */ color: oklch(83.6% 0.190 132.4);
Tailwind
colors: {
  custom: {
    50: '#bbeb89',
    500: '#98e252',
    950: '#000000',
  },
}
SCSS
$custom: #98e252;
$custom-light: #bbeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#98e252",
  "rgb": {
    "r": 152,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 90.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8357,
    "c": 0.19022,
    "h": 132.4
  },
  "luminance": 0.61677
}

Semantic roles & 50–950 ramp

primary
#98E252
secondary
#6E36A2
accent
#12D375
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #98E252

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

Preview Lab → · Contrast checker → · Palette generator →

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