#98CF71#98CF71

#98CF71 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.5% C 0.137 H 133.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#98CF71
RGBrgb(152, 207, 113)
HSLhsl(95, 49%, 63%)
HSVhsv(95, 45%, 81%)
CMYKcmyk(26.6%, 0%, 45.4%, 18.8%)
CIE-LABlab(77.57, -34.22, 40.97)
CIE-LCHlch(77.57, 53.37, 129.87°)
OKLaboklab(79.48% -0.0942 0.0993)
OKLCHoklch(79.48% 0.137 133.5)
XYZxyz(38.2416, 52.4922, 23.7368)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF71 #A871CF
analogous
#C7CF71 #98CF71 #71CF79
triadic
#98CF71 #7198CF #CF7198
tetradic
#98CF71 #71C7CF #A871CF #CF7971
square
#98CF71 #71C7CF #A871CF #CF7971
split-complementary
#98CF71 #7971CF #CF71C7
monochromatic
#5A9432 #77C043 #98CF71 #B9DE9F #DAEECC

Accessibility & contrast

On white

1.83
#98CF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#98CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF71
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF71#FFFFFF#000000##000000
##98CF711.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C369
Deuteranopia (green-blind)
#CEBE77
Tritanopia (blue-blind)
#99C8B9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #98cf71;
/* rgb */ color: rgb(152, 207, 113);
/* oklch */ color: oklch(79.5% 0.137 133.5);
Tailwind
colors: {
  custom: {
    50: '#b8de9b',
    500: '#98cf71',
    950: '#000000',
  },
}
SCSS
$custom: #98cf71;
$custom-light: #b8de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf71",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 95.106,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79483,
    "c": 0.13691,
    "h": 133.5
  },
  "luminance": 0.52493
}

Semantic roles & 50–950 ramp

primary
#98CF71
secondary
#794B9A
accent
#29BD7F
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #98CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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