#98C871#98C871

#98C871 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.9% C 0.127 H 132.3°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#98C871
RGBrgb(152, 200, 113)
HSLhsl(93, 44%, 61%)
HSVhsv(93, 44%, 78%)
CMYKcmyk(24%, 0%, 43.5%, 21.6%)
CIE-LABlab(75.56, -30.95, 38.43)
CIE-LCHlch(75.56, 49.35, 128.84°)
OKLaboklab(77.86% -0.0852 0.0936)
OKLCHoklch(77.86% 0.127 132.3)
XYZxyz(36.5832, 49.1753, 23.1839)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C871 #A171C8
analogous
#C4C871 #98C871 #71C876
triadic
#98C871 #7198C8 #C87198
tetradic
#98C871 #71C4C8 #A171C8 #C87671
square
#98C871 #71C4C8 #A171C8 #C87671
split-complementary
#98C871 #7671C8 #C871C4
monochromatic
#5B8935 #78B646 #98C871 #B8D99D #D8EAC9

Accessibility & contrast

On white

1.94
#98C871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#98C871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C871
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C871#FFFFFF#000000##000000
##98C8711.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6A
Deuteranopia (green-blind)
#C8B976
Tritanopia (blue-blind)
#99C2B3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #98c871;
/* rgb */ color: rgb(152, 200, 113);
/* oklch */ color: oklch(77.9% 0.127 132.3);
Tailwind
colors: {
  custom: {
    50: '#b8d99b',
    500: '#98c871',
    950: '#000000',
  },
}
SCSS
$custom: #98c871;
$custom-light: #b8d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#98c871",
  "rgb": {
    "r": 152,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 93.103,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77856,
    "c": 0.12655,
    "h": 132.3
  },
  "luminance": 0.49176
}

Semantic roles & 50–950 ramp

primary
#98C871
secondary
#CCBADB
accent
#2EB77A
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#11140E
muted
#80837E

Preview Lab

Preview with #98C871

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

Preview Lab → · Contrast checker → · Palette generator →

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