#98D252#98D252

#98D252 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 79.8% C 0.170 H 130.1°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#98D252
RGBrgb(152, 210, 82)
HSLhsl(87, 59%, 57%)
HSVhsv(87, 61%, 82%)
CMYKcmyk(27.6%, 0%, 61%, 17.6%)
CIE-LABlab(78.10, -38.81, 56.03)
CIE-LCHlch(78.10, 68.16, 124.71°)
OKLaboklab(79.8% -0.1092 0.1297)
OKLCHoklch(79.8% 0.17 130.1)
XYZxyz(37.5182, 53.3768, 16.3071)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D252 #8C52D2
analogous
#D2CC52 #98D252 #58D252
triadic
#98D252 #5298D2 #D25298
tetradic
#98D252 #52D2CC #8C52D2 #D25258
square
#98D252 #52D2CC #8C52D2 #D25258
split-complementary
#98D252 #5258D2 #CC52D2
monochromatic
#598723 #7AB730 #98D252 #B5DF83 #D2EBB3

Accessibility & contrast

On white

1.80
#98D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#98D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D252
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D252#FFFFFF#000000##000000
##98D2521.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#9BCAB7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d252;
/* rgb */ color: rgb(152, 210, 82);
/* oklch */ color: oklch(79.8% 0.170 130.1);
Tailwind
colors: {
  custom: {
    50: '#bae087',
    500: '#98d252',
    950: '#000000',
  },
}
SCSS
$custom: #98d252;
$custom-light: #bae087;
$custom-dark: #000000;
JSON
{
  "hex": "#98d252",
  "rgb": {
    "r": 152,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 87.188,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79795,
    "c": 0.16952,
    "h": 130.1
  },
  "luminance": 0.53378
}

Semantic roles & 50–950 ramp

primary
#98D252
secondary
#603B8D
accent
#46E28D
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D252

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

Preview Lab → · Contrast checker → · Palette generator →

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