#98C271#98C271

#98C271 is a light, moderate yellow-green. Relative luminance 0.465; OKLCH L 76.5% C 0.118 H 131.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#98C271
RGBrgb(152, 194, 113)
HSLhsl(91, 40%, 60%)
HSVhsv(91, 42%, 76%)
CMYKcmyk(21.6%, 0%, 41.8%, 23.9%)
CIE-LABlab(73.84, -28.09, 36.25)
CIE-LCHlch(73.84, 45.86, 127.78°)
OKLaboklab(76.47% -0.0772 0.0886)
OKLCHoklch(76.47% 0.118 131.1)
XYZxyz(35.2208, 46.4505, 22.7298)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C271 #9B71C2
analogous
#C0C271 #98C271 #71C273
triadic
#98C271 #7198C2 #C27198
tetradic
#98C271 #71C0C2 #9B71C2 #C27371
square
#98C271 #71C0C2 #9B71C2 #C27371
split-complementary
#98C271 #7371C2 #C271C0
monochromatic
#5B8137 #79AC4A #98C271 #B7D49C #D6E7C7

Accessibility & contrast

On white

2.04
#98C271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#98C271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C271
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C271#FFFFFF#000000##000000
##98C2711.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86B
Deuteranopia (green-blind)
#C2B475
Tritanopia (blue-blind)
#9ABCAE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c271;
/* rgb */ color: rgb(152, 194, 113);
/* oklch */ color: oklch(76.5% 0.118 131.1);
Tailwind
colors: {
  custom: {
    50: '#b8d49b',
    500: '#98c271',
    950: '#000000',
  },
}
SCSS
$custom: #98c271;
$custom-light: #b8d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#98c271",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 91.111,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.76466,
    "c": 0.11756,
    "h": 131.1
  },
  "luminance": 0.46451
}

Semantic roles & 50–950 ramp

primary
#98C271
secondary
#C8B8D7
accent
#33B375
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#11140E
muted
#80837E

Preview Lab

Preview with #98C271

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

Preview Lab → · Contrast checker → · Palette generator →

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