#98D852#98D852

#98D852 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.2% C 0.177 H 131.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#98D852
RGBrgb(152, 216, 82)
HSLhsl(89, 63%, 58%)
HSVhsv(89, 62%, 85%)
CMYKcmyk(29.6%, 0%, 62%, 15.3%)
CIE-LABlab(79.84, -41.46, 57.95)
CIE-LCHlch(79.84, 71.25, 125.59°)
OKLaboklab(81.21% -0.1165 0.1338)
OKLCHoklch(81.21% 0.177 131)
XYZxyz(39.0274, 56.3951, 16.8101)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D852 #9252D8
analogous
#D8D552 #98D852 #55D852
triadic
#98D852 #5298D8 #D85298
tetradic
#98D852 #52D8D5 #9252D8 #D85255
square
#98D852 #52D8D5 #9252D8 #D85255
split-complementary
#98D852 #5255D8 #D552D8
monochromatic
#5A8F20 #7AC12C #98D852 #B6E384 #D3EFB6

Accessibility & contrast

On white

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

On black

12.28
#98D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D852
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D852#FFFFFF#000000##000000
##98D8521.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#9BCFBC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #98d852;
/* rgb */ color: rgb(152, 216, 82);
/* oklch */ color: oklch(81.2% 0.177 131.0);
Tailwind
colors: {
  custom: {
    50: '#bae488',
    500: '#98d852',
    950: '#000000',
  },
}
SCSS
$custom: #98d852;
$custom-light: #bae488;
$custom-dark: #000000;
JSON
{
  "hex": "#98d852",
  "rgb": {
    "r": 152,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 88.657,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81209,
    "c": 0.17735,
    "h": 131
  },
  "luminance": 0.56396
}

Semantic roles & 50–950 ramp

primary
#98D852
secondary
#653995
accent
#42E690
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D852

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

Preview Lab → · Contrast checker → · Palette generator →

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