#98C252#98C252

#98C252 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.0% C 0.148 H 126.9°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#98C252
RGBrgb(152, 194, 82)
HSLhsl(83, 48%, 54%)
HSVhsv(83, 58%, 76%)
CMYKcmyk(21.6%, 0%, 57.7%, 23.9%)
CIE-LABlab(73.46, -31.49, 50.82)
CIE-LCHlch(73.46, 59.79, 121.78°)
OKLaboklab(76.04% -0.0889 0.1186)
OKLCHoklch(76.04% 0.148 126.9)
XYZxyz(33.7636, 45.8677, 15.0555)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C252 #7C52C2
analogous
#C2B452 #98C252 #60C252
triadic
#98C252 #5298C2 #C25298
tetradic
#98C252 #52C2B4 #7C52C2 #C25260
square
#98C252 #52C2B4 #7C52C2 #C25260
split-complementary
#98C252 #5260C2 #B452C2
monochromatic
#567228 #789F38 #98C252 #B3D27F #CEE2AC

Accessibility & contrast

On white

2.06
#98C252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#98C252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C252
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C252#FFFFFF#000000##000000
##98C2521.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#C5B45A
Tritanopia (blue-blind)
#9DBAAA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c252;
/* rgb */ color: rgb(152, 194, 82);
/* oklch */ color: oklch(76.0% 0.148 126.9);
Tailwind
colors: {
  custom: {
    50: '#b9d486',
    500: '#98c252',
    950: '#000000',
  },
}
SCSS
$custom: #98c252;
$custom-light: #b9d486;
$custom-dark: #000000;
JSON
{
  "hex": "#98c252",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 82.5,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7604,
    "c": 0.14822,
    "h": 126.9
  },
  "luminance": 0.45868
}

Semantic roles & 50–950 ramp

primary
#98C252
secondary
#B2A0D0
accent
#50D783
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C252

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

Preview Lab → · Contrast checker → · Palette generator →

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