#98D671#98D671

#98D671 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.1% C 0.147 H 134.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#98D671
RGBrgb(152, 214, 113)
HSLhsl(97, 55%, 64%)
HSVhsv(97, 47%, 84%)
CMYKcmyk(29%, 0%, 47.2%, 16.1%)
CIE-LABlab(79.59, -37.41, 43.47)
CIE-LCHlch(79.59, 57.35, 130.71°)
OKLaboklab(81.12% -0.1031 0.1049)
OKLCHoklch(81.12% 0.147 134.5)
XYZxyz(39.9752, 55.9595, 24.3146)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D671 #AF71D6
analogous
#CAD671 #98D671 #71D67D
triadic
#98D671 #7198D6 #D67198
tetradic
#98D671 #71CAD6 #AF71D6 #D67D71
square
#98D671 #71CAD6 #AF71D6 #D67D71
split-complementary
#98D671 #7D71D6 #D671CA
monochromatic
#599F2E #76C842 #98D671 #BAE4A0 #DDF1D0

Accessibility & contrast

On white

1.72
#98D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#98D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D671
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D671#FFFFFF#000000##000000
##98D6711.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#D4C377
Tritanopia (blue-blind)
#98CFBE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #98d671;
/* rgb */ color: rgb(152, 214, 113);
/* oklch */ color: oklch(81.1% 0.147 134.5);
Tailwind
colors: {
  custom: {
    50: '#b9e39c',
    500: '#98d671',
    950: '#000000',
  },
}
SCSS
$custom: #98d671;
$custom-light: #b9e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#98d671",
  "rgb": {
    "r": 152,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 96.832,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81115,
    "c": 0.14709,
    "h": 134.5
  },
  "luminance": 0.55961
}

Semantic roles & 50–950 ramp

primary
#98D671
secondary
#8048A3
accent
#23C385
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #98D671

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

Preview Lab → · Contrast checker → · Palette generator →

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