#98D173#98D173

#98D173 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.0% C 0.138 H 134.1°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#98D173
RGBrgb(152, 209, 115)
HSLhsl(96, 51%, 64%)
HSVhsv(96, 45%, 82%)
CMYKcmyk(27.3%, 0%, 45%, 18%)
CIE-LABlab(78.18, -34.89, 40.73)
CIE-LCHlch(78.18, 53.63, 130.58°)
OKLaboklab(79.98% -0.096 0.0989)
OKLCHoklch(79.98% 0.138 134.1)
XYZxyz(38.8430, 53.5129, 24.4988)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D173 #AC73D1
analogous
#C7D173 #98D173 #73D17D
triadic
#98D173 #7398D1 #D17398
tetradic
#98D173 #73C7D1 #AC73D1 #D17D73
square
#98D173 #73C7D1 #AC73D1 #D17D73
split-complementary
#98D173 #7D73D1 #D173C7
monochromatic
#5A9832 #76C245 #98D173 #BAE0A1 #DCEFCF

Accessibility & contrast

On white

1.79
#98D173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#98D173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D173
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D173#FFFFFF#000000##000000
##98D1731.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46B
Deuteranopia (green-blind)
#CFC079
Tritanopia (blue-blind)
#98CBBB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d173;
/* rgb */ color: rgb(152, 209, 115);
/* oklch */ color: oklch(80.0% 0.138 134.1);
Tailwind
colors: {
  custom: {
    50: '#b8df9d',
    500: '#98d173',
    950: '#000000',
  },
}
SCSS
$custom: #98d173;
$custom-light: #b8df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#98d173",
  "rgb": {
    "r": 152,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 96.383,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79979,
    "c": 0.13781,
    "h": 134.1
  },
  "luminance": 0.53514
}

Semantic roles & 50–950 ramp

primary
#98D173
secondary
#7D4B9D
accent
#28BE83
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #98D173

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

Preview Lab → · Contrast checker → · Palette generator →

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