#98DA51#98DA51

#98DA51 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.7% C 0.181 H 131.3°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#98DA51
RGBrgb(152, 218, 81)
HSLhsl(89, 65%, 59%)
HSVhsv(89, 63%, 85%)
CMYKcmyk(30.3%, 0%, 62.8%, 14.5%)
CIE-LABlab(80.41, -42.42, 58.99)
CIE-LCHlch(80.41, 72.66, 125.72°)
OKLaboklab(81.67% -0.1192 0.1359)
OKLCHoklch(81.67% 0.181 131.3)
XYZxyz(39.5051, 57.4110, 16.7830)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DA51 #9351DA
analogous
#DAD751 #98DA51 #53DA51
triadic
#98DA51 #5198DA #DA5198
tetradic
#98DA51 #51DAD7 #9351DA #DA5153
square
#98DA51 #51DAD7 #9351DA #DA5153
split-complementary
#98DA51 #5153DA #D751DA
monochromatic
#5A921F #7AC42A #98DA51 #B6E583 #D4EFB6

Accessibility & contrast

On white

1.68
#98DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#98DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98DA51
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98DA51#FFFFFF#000000##000000
##98DA511.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB40
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#9BD1BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #98da51;
/* rgb */ color: rgb(152, 218, 81);
/* oklch */ color: oklch(81.7% 0.181 131.3);
Tailwind
colors: {
  custom: {
    50: '#bae687',
    500: '#98da51',
    950: '#000000',
  },
}
SCSS
$custom: #98da51;
$custom-light: #bae687;
$custom-dark: #000000;
JSON
{
  "hex": "#98da51",
  "rgb": {
    "r": 152,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 88.905,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81671,
    "c": 0.18071,
    "h": 131.3
  },
  "luminance": 0.57412
}

Semantic roles & 50–950 ramp

primary
#98DA51
secondary
#663997
accent
#40E891
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #98DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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