#98DF52#98DF52

#98DF52 is a very light, vivid yellow-green. Relative luminance 0.601; OKLCH L 82.9% C 0.186 H 132.0°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#98DF52
RGBrgb(152, 223, 82)
HSLhsl(90, 69%, 60%)
HSVhsv(90, 63%, 87%)
CMYKcmyk(31.8%, 0%, 63.2%, 12.5%)
CIE-LABlab(81.87, -44.50, 60.17)
CIE-LCHlch(81.87, 74.83, 126.48°)
OKLaboklab(82.86% -0.1248 0.1385)
OKLCHoklch(82.86% 0.186 132)
XYZxyz(40.8590, 60.0585, 17.4207)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DF52 #9952DF
analogous
#DEDF52 #98DF52 #52DF53
triadic
#98DF52 #5298DF #DF5298
tetradic
#98DF52 #52DEDF #9952DF #DF5352
square
#98DF52 #52DEDF #9952DF #DF5352
split-complementary
#98DF52 #5352DF #DF52DE
monochromatic
#5B9A1D #79CE26 #98DF52 #B7E986 #D5F2B9

Accessibility & contrast

On white

1.61
#98DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#98DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98DF52
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98DF52#FFFFFF#000000##000000
##98DF521.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#9AD6C2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #98df52;
/* rgb */ color: rgb(152, 223, 82);
/* oklch */ color: oklch(82.9% 0.186 132.0);
Tailwind
colors: {
  custom: {
    50: '#bae988',
    500: '#98df52',
    950: '#000000',
  },
}
SCSS
$custom: #98df52;
$custom-light: #bae988;
$custom-dark: #000000;
JSON
{
  "hex": "#98df52",
  "rgb": {
    "r": 152,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 90.213,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82861,
    "c": 0.18639,
    "h": 132
  },
  "luminance": 0.6006
}

Semantic roles & 50–950 ramp

primary
#98DF52
secondary
#6B379E
accent
#3CEC95
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #98DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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