#98FF51#98FF51

#98FF51 is a very light, highly saturated yellow-green. Relative luminance 0.788; OKLCH L 90.4% C 0.227 H 135.2°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#98FF51
RGBrgb(152, 255, 81)
HSLhsl(96, 100%, 66%)
HSVhsv(96, 68%, 100%)
CMYKcmyk(40.4%, 0%, 68.2%, 0%)
CIE-LABlab(91.14, -57.65, 70.38)
CIE-LCHlch(91.14, 90.98, 129.32°)
OKLaboklab(90.42% -0.1607 0.1598)
OKLCHoklch(90.42% 0.227 135.2)
XYZxyz(50.1930, 78.7868, 20.3456)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98FF51 #B851FF
analogous
#EFFF51 #98FF51 #51FF61
triadic
#98FF51 #5198FF #FF5198
tetradic
#98FF51 #51EFFF #B851FF #FF6151
square
#98FF51 #51EFFF #B851FF #FF6151
split-complementary
#98FF51 #6151FF #FF51EF
monochromatic
#57D600 #74FF14 #98FF51 #BCFF8E #E0FFCB

Accessibility & contrast

On white

1.25
#98FF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#98FF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98FF51
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98FF51#FFFFFF#000000##000000
##98FF511.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB36
Deuteranopia (green-blind)
#FAE361
Tritanopia (blue-blind)
#96F6DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #98ff51;
/* rgb */ color: rgb(152, 255, 81);
/* oklch */ color: oklch(90.4% 0.227 135.2);
Tailwind
colors: {
  custom: {
    50: '#bdff8b',
    500: '#98ff51',
    950: '#000000',
  },
}
SCSS
$custom: #98ff51;
$custom-light: #bdff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ff51",
  "rgb": {
    "r": 152,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 95.517,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90424,
    "c": 0.22666,
    "h": 135.2
  },
  "luminance": 0.78789
}

Semantic roles & 50–950 ramp

primary
#98FF51
secondary
#8A25D0
accent
#00E688
background
#FDFFFC
surface
#F9FFF4
border
#D2D7CE
text
#13180C
muted
#82867F

Preview Lab

Preview with #98FF51

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

Preview Lab → · Contrast checker → · Palette generator →

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