#98DB51#98DB51

#98DB51 is a light, vivid yellow-green. Relative luminance 0.579; OKLCH L 81.9% C 0.182 H 131.4°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#98DB51
RGBrgb(152, 219, 81)
HSLhsl(89, 66%, 59%)
HSVhsv(89, 63%, 86%)
CMYKcmyk(30.6%, 0%, 63%, 14.1%)
CIE-LABlab(80.70, -42.85, 59.31)
CIE-LCHlch(80.70, 73.17, 125.85°)
OKLaboklab(81.91% -0.1204 0.1365)
OKLCHoklch(81.91% 0.182 131.4)
XYZxyz(39.7652, 57.9312, 16.8697)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DB51 #9451DB
analogous
#DBD951 #98DB51 #53DB51
triadic
#98DB51 #5198DB #DB5198
tetradic
#98DB51 #51DBD9 #9451DB #DB5153
square
#98DB51 #51DBD9 #9451DB #DB5153
split-complementary
#98DB51 #5153DB #D951DB
monochromatic
#5A931E #7AC629 #98DB51 #B6E584 #D4F0B6

Accessibility & contrast

On white

1.67
#98DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#98DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98DB51
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98DB51#FFFFFF#000000##000000
##98DB511.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC40
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#9AD2BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #98db51;
/* rgb */ color: rgb(152, 219, 81);
/* oklch */ color: oklch(81.9% 0.182 131.4);
Tailwind
colors: {
  custom: {
    50: '#bae688',
    500: '#98db51',
    950: '#000000',
  },
}
SCSS
$custom: #98db51;
$custom-light: #bae688;
$custom-dark: #000000;
JSON
{
  "hex": "#98db51",
  "rgb": {
    "r": 152,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 89.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81907,
    "c": 0.182,
    "h": 131.4
  },
  "luminance": 0.57933
}

Semantic roles & 50–950 ramp

primary
#98DB51
secondary
#673898
accent
#3FE991
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #98DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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