#98D772#98D772

#98D772 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.4% C 0.148 H 134.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#98D772
RGBrgb(152, 215, 114)
HSLhsl(97, 56%, 65%)
HSVhsv(97, 47%, 84%)
CMYKcmyk(29.3%, 0%, 47%, 15.7%)
CIE-LABlab(79.89, -37.74, 43.36)
CIE-LCHlch(79.89, 57.48, 131.04°)
OKLaboklab(81.36% -0.1039 0.1047)
OKLCHoklch(81.36% 0.148 134.8)
XYZxyz(40.2857, 56.4898, 24.6974)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D772 #B172D7
analogous
#CAD772 #98D772 #72D77F
triadic
#98D772 #7298D7 #D77298
tetradic
#98D772 #72CAD7 #B172D7 #D77F72
square
#98D772 #72CAD7 #B172D7 #D77F72
split-complementary
#98D772 #7F72D7 #D772CA
monochromatic
#59A12E #75C942 #98D772 #BBE5A2 #DEF2D1

Accessibility & contrast

On white

1.71
#98D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#98D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D772
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D772#FFFFFF#000000##000000
##98D7721.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC96A
Deuteranopia (green-blind)
#D4C478
Tritanopia (blue-blind)
#98D0BF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #98d772;
/* rgb */ color: rgb(152, 215, 114);
/* oklch */ color: oklch(81.4% 0.148 134.8);
Tailwind
colors: {
  custom: {
    50: '#b9e39c',
    500: '#98d772',
    950: '#000000',
  },
}
SCSS
$custom: #98d772;
$custom-light: #b9e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#98d772",
  "rgb": {
    "r": 152,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 97.426,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81363,
    "c": 0.14755,
    "h": 134.8
  },
  "luminance": 0.56491
}

Semantic roles & 50–950 ramp

primary
#98D772
secondary
#8248A5
accent
#22C387
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #98D772

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

Preview Lab → · Contrast checker → · Palette generator →

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