#98DC51#98DC51

#98DC51 is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.1% C 0.183 H 131.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#98DC51
RGBrgb(152, 220, 81)
HSLhsl(89, 67%, 59%)
HSVhsv(89, 63%, 86%)
CMYKcmyk(30.9%, 0%, 63.2%, 13.7%)
CIE-LABlab(80.99, -43.29, 59.62)
CIE-LCHlch(80.99, 73.68, 125.98°)
OKLaboklab(82.14% -0.1215 0.1372)
OKLCHoklch(82.14% 0.183 131.5)
XYZxyz(40.0268, 58.4545, 16.9569)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DC51 #9551DC
analogous
#DCDB51 #98DC51 #53DC51
triadic
#98DC51 #5198DC #DC5198
tetradic
#98DC51 #51DCDB #9551DC #DC5153
square
#98DC51 #51DCDB #9551DC #DC5153
split-complementary
#98DC51 #5153DC #DB51DC
monochromatic
#5B951E #7AC828 #98DC51 #B6E684 #D4F0B7

Accessibility & contrast

On white

1.65
#98DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#98DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98DC51
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98DC51#FFFFFF#000000##000000
##98DC511.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC40
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#9AD3BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #98dc51;
/* rgb */ color: rgb(152, 220, 81);
/* oklch */ color: oklch(82.1% 0.183 131.5);
Tailwind
colors: {
  custom: {
    50: '#bae788',
    500: '#98dc51',
    950: '#000000',
  },
}
SCSS
$custom: #98dc51;
$custom-light: #bae788;
$custom-dark: #000000;
JSON
{
  "hex": "#98dc51",
  "rgb": {
    "r": 152,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 89.353,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82143,
    "c": 0.18329,
    "h": 131.5
  },
  "luminance": 0.58456
}

Semantic roles & 50–950 ramp

primary
#98DC51
secondary
#683899
accent
#3EE992
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #98DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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