#98DF51#98DF51

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

Color values

HEX#98DF51
RGBrgb(152, 223, 81)
HSLhsl(90, 69%, 60%)
HSVhsv(90, 64%, 87%)
CMYKcmyk(31.8%, 0%, 63.7%, 12.5%)
CIE-LABlab(81.86, -44.58, 60.57)
CIE-LCHlch(81.86, 75.20, 126.35°)
OKLaboklab(82.85% -0.1251 0.1392)
OKLCHoklch(82.85% 0.187 131.9)
XYZxyz(40.8213, 60.0434, 17.2217)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DF51 #9851DF
analogous
#DFDF51 #98DF51 #51DF51
triadic
#98DF51 #5198DF #DF5198
tetradic
#98DF51 #51DFDF #9851DF #DF5151
square
#98DF51 #51DFDF #9851DF #DF5151
split-complementary
#98DF51 #5151DF #DF51DF
monochromatic
#5B991C #79CD26 #98DF51 #B7E985 #D5F2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98DF51#FFFFFF#000000##000000
##98DF511.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)
#E8CF3F
Deuteranopia (green-blind)
#DECA5C
Tritanopia (blue-blind)
#9AD6C2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #98df51;
/* rgb */ color: rgb(152, 223, 81);
/* oklch */ color: oklch(82.9% 0.187 131.9);
Tailwind
colors: {
  custom: {
    50: '#bbe988',
    500: '#98df51',
    950: '#000000',
  },
}
SCSS
$custom: #98df51;
$custom-light: #bbe988;
$custom-dark: #000000;
JSON
{
  "hex": "#98df51",
  "rgb": {
    "r": 152,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 90,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82852,
    "c": 0.18713,
    "h": 131.9
  },
  "luminance": 0.60045
}

Semantic roles & 50–950 ramp

primary
#98DF51
secondary
#6A379D
accent
#3CEC94
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #98DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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