#98D752#98D752

#98D752 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.0% C 0.176 H 130.9°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#98D752
RGBrgb(152, 215, 82)
HSLhsl(88, 62%, 58%)
HSVhsv(88, 62%, 84%)
CMYKcmyk(29.3%, 0%, 61.9%, 15.7%)
CIE-LABlab(79.55, -41.02, 57.63)
CIE-LCHlch(79.55, 70.74, 125.45°)
OKLaboklab(80.97% -0.1153 0.1331)
OKLCHoklch(80.97% 0.176 130.9)
XYZxyz(38.7719, 55.8843, 16.7250)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D752 #9152D7
analogous
#D7D352 #98D752 #55D752
triadic
#98D752 #5298D7 #D75298
tetradic
#98D752 #52D7D3 #9152D7 #D75255
square
#98D752 #52D7D3 #9152D7 #D75255
split-complementary
#98D752 #5255D7 #D352D7
monochromatic
#5A8E21 #7AC02C #98D752 #B6E284 #D3EEB5

Accessibility & contrast

On white

1.72
#98D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#98D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D752
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D752#FFFFFF#000000##000000
##98D7521.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#9BCEBB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #98d752;
/* rgb */ color: rgb(152, 215, 82);
/* oklch */ color: oklch(81.0% 0.176 130.9);
Tailwind
colors: {
  custom: {
    50: '#bae388',
    500: '#98d752',
    950: '#000000',
  },
}
SCSS
$custom: #98d752;
$custom-light: #bae388;
$custom-dark: #000000;
JSON
{
  "hex": "#98d752",
  "rgb": {
    "r": 152,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 88.421,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.17605,
    "h": 130.9
  },
  "luminance": 0.55885
}

Semantic roles & 50–950 ramp

primary
#98D752
secondary
#643A93
accent
#42E690
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D752

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

Preview Lab → · Contrast checker → · Palette generator →

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