#98E271#98E271

#98E271 is a very light, vivid yellow-green. Relative luminance 0.623; OKLCH L 83.9% C 0.164 H 135.8°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#98E271
RGBrgb(152, 226, 113)
HSLhsl(99, 66%, 66%)
HSVhsv(99, 50%, 89%)
CMYKcmyk(32.7%, 0%, 50%, 11.4%)
CIE-LABlab(83.05, -42.73, 47.72)
CIE-LCHlch(83.05, 64.06, 131.85°)
OKLaboklab(83.92% -0.1177 0.1144)
OKLCHoklch(83.92% 0.164 135.8)
XYZxyz(43.1248, 62.2586, 25.3645)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98E271 #BB71E2
analogous
#D1E271 #98E271 #71E283
triadic
#98E271 #7198E2 #E27198
tetradic
#98E271 #71D1E2 #BB71E2 #E28371
square
#98E271 #71D1E2 #BB71E2 #E28371
split-complementary
#98E271 #8371E2 #E271D1
monochromatic
#56B425 #73D83E #98E271 #BDECA4 #E2F7D7

Accessibility & contrast

On white

1.56
#98E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#98E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98E271
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98E271#FFFFFF#000000##000000
##98E2711.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#DECD78
Tritanopia (blue-blind)
#96DBC8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #98e271;
/* rgb */ color: rgb(152, 226, 113);
/* oklch */ color: oklch(83.9% 0.164 135.8);
Tailwind
colors: {
  custom: {
    50: '#b9eb9c',
    500: '#98e271',
    950: '#000000',
  },
}
SCSS
$custom: #98e271;
$custom-light: #b9eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#98e271",
  "rgb": {
    "r": 152,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 99.292,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83922,
    "c": 0.16415,
    "h": 135.8
  },
  "luminance": 0.6226
}

Semantic roles & 50–950 ramp

primary
#98E271
secondary
#8D42B5
accent
#18CE8F
background
#FDFEFC
surface
#F8FDF5
border
#D1D5CF
text
#12160E
muted
#82847F

Preview Lab

Preview with #98E271

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

Preview Lab → · Contrast checker → · Palette generator →

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