#98DF40#98DF40

#98DF40 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 82.7% C 0.199 H 130.8°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#98DF40
RGBrgb(152, 223, 64)
HSLhsl(87, 71%, 56%)
HSVhsv(87, 71%, 87%)
CMYKcmyk(31.8%, 0%, 71.3%, 12.5%)
CIE-LABlab(81.74, -45.78, 66.92)
CIE-LCHlch(81.74, 81.08, 124.38°)
OKLaboklab(82.71% -0.1297 0.1503)
OKLCHoklch(82.71% 0.199 130.8)
XYZxyz(40.2617, 59.8196, 14.2745)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DF40 #8740DF
analogous
#DFD640 #98DF40 #49DF40
triadic
#98DF40 #4098DF #DF4098
tetradic
#98DF40 #40DFD6 #8740DF #DF4049
square
#98DF40 #40DFD6 #8740DF #DF4049
split-complementary
#98DF40 #4049DF #D640DF
monochromatic
#598D18 #7AC120 #98DF40 #B4E874 #D1F1A9

Accessibility & contrast

On white

1.62
#98DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#98DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98DF40
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98DF40#FFFFFF#000000##000000
##98DF401.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF23
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#9BD6C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #98df40;
/* rgb */ color: rgb(152, 223, 64);
/* oklch */ color: oklch(82.7% 0.199 130.8);
Tailwind
colors: {
  custom: {
    50: '#bbe97e',
    500: '#98df40',
    950: '#000000',
  },
}
SCSS
$custom: #98df40;
$custom-light: #bbe97e;
$custom-dark: #000000;
JSON
{
  "hex": "#98df40",
  "rgb": {
    "r": 152,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 86.792,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82714,
    "c": 0.19851,
    "h": 130.8
  },
  "luminance": 0.59821
}

Semantic roles & 50–950 ramp

primary
#98DF40
secondary
#5C3192
accent
#3AEE8A
background
#FDFEFB
surface
#F9FDF2
border
#D2D5CC
text
#12160B
muted
#82847E

Preview Lab

Preview with #98DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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