#98CF79#98CF79

#98CF79 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.6% C 0.129 H 135.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#98CF79
RGBrgb(152, 207, 121)
HSLhsl(98, 47%, 64%)
HSVhsv(98, 42%, 81%)
CMYKcmyk(26.6%, 0%, 41.5%, 18.8%)
CIE-LABlab(77.69, -33.19, 37.11)
CIE-LCHlch(77.69, 49.79, 131.81°)
OKLaboklab(79.61% -0.091 0.0909)
OKLCHoklch(79.61% 0.129 135)
XYZxyz(38.7120, 52.6804, 26.2141)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF79 #B079CF
analogous
#C3CF79 #98CF79 #79CF85
triadic
#98CF79 #7998CF #CF7998
tetradic
#98CF79 #79C3CF #B079CF #CF8579
square
#98CF79 #79C3CF #B079CF #CF8579
split-complementary
#98CF79 #8579CF #CF79C3
monochromatic
#599736 #75BF4C #98CF79 #BBDFA6 #DDEFD3

Accessibility & contrast

On white

1.82
#98CF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#98CF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF79
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF79#FFFFFF#000000##000000
##98CF791.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C373
Deuteranopia (green-blind)
#CDBE7E
Tritanopia (blue-blind)
#98C9BA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #98cf79;
/* rgb */ color: rgb(152, 207, 121);
/* oklch */ color: oklch(79.6% 0.129 135.0);
Tailwind
colors: {
  custom: {
    50: '#b8dea1',
    500: '#98cf79',
    950: '#000000',
  },
}
SCSS
$custom: #98cf79;
$custom-light: #b8dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf79",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 98.372,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7961,
    "c": 0.12864,
    "h": 135
  },
  "luminance": 0.52682
}

Semantic roles & 50–950 ramp

primary
#98CF79
secondary
#814F9D
accent
#2BBB87
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#11150F
muted
#818480

Preview Lab

Preview with #98CF79

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

Preview Lab → · Contrast checker → · Palette generator →

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