#98D271#98D271

#98D271 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.2% C 0.141 H 133.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#98D271
RGBrgb(152, 210, 113)
HSLhsl(96, 52%, 63%)
HSVhsv(96, 46%, 82%)
CMYKcmyk(27.6%, 0%, 46.2%, 17.6%)
CIE-LABlab(78.44, -35.59, 42.04)
CIE-LCHlch(78.44, 55.09, 130.25°)
OKLaboklab(80.18% -0.098 0.1017)
OKLCHoklch(80.18% 0.141 133.9)
XYZxyz(38.9753, 53.9596, 23.9813)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D271 #AB71D2
analogous
#C9D271 #98D271 #71D27A
triadic
#98D271 #7198D2 #D27198
tetradic
#98D271 #71C9D2 #AB71D2 #D27A71
square
#98D271 #71C9D2 #AB71D2 #D27A71
split-complementary
#98D271 #7A71D2 #D271C9
monochromatic
#5A9830 #76C343 #98D271 #BAE19F #DBEFCE

Accessibility & contrast

On white

1.78
#98D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#98D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D271
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D271#FFFFFF#000000##000000
##98D2711.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C569
Deuteranopia (green-blind)
#D0C077
Tritanopia (blue-blind)
#98CBBB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #98d271;
/* rgb */ color: rgb(152, 210, 113);
/* oklch */ color: oklch(80.2% 0.141 133.9);
Tailwind
colors: {
  custom: {
    50: '#b8e09b',
    500: '#98d271',
    950: '#000000',
  },
}
SCSS
$custom: #98d271;
$custom-light: #b8e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#98d271",
  "rgb": {
    "r": 152,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 95.876,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80182,
    "c": 0.14129,
    "h": 133.9
  },
  "luminance": 0.53961
}

Semantic roles & 50–950 ramp

primary
#98D271
secondary
#7C4A9E
accent
#26BF82
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #98D271

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

Preview Lab → · Contrast checker → · Palette generator →

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