#98D957#98D957

#98D957 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.5% C 0.175 H 131.6°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#98D957
RGBrgb(152, 217, 87)
HSLhsl(90, 63%, 60%)
HSVhsv(90, 60%, 85%)
CMYKcmyk(30%, 0%, 59.9%, 14.9%)
CIE-LABlab(80.17, -41.47, 56.18)
CIE-LCHlch(80.17, 69.83, 126.43°)
OKLaboklab(81.49% -0.1161 0.1306)
OKLCHoklch(81.49% 0.175 131.6)
XYZxyz(39.4816, 56.9880, 17.9346)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D957 #9857D9
analogous
#D9D957 #98D957 #57D957
triadic
#98D957 #5798D9 #D95798
tetradic
#98D957 #57D9D9 #9857D9 #D95757
square
#98D957 #57D9D9 #9857D9 #D95757
split-complementary
#98D957 #5757D9 #D957D9
monochromatic
#5B9421 #79C62D #98D957 #B7E489 #D5F0BB

Accessibility & contrast

On white

1.69
#98D957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#98D957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D957
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D957#FFFFFF#000000##000000
##98D9571.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA48
Deuteranopia (green-blind)
#D9C561
Tritanopia (blue-blind)
#9AD1BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #98d957;
/* rgb */ color: rgb(152, 217, 87);
/* oklch */ color: oklch(81.5% 0.175 131.6);
Tailwind
colors: {
  custom: {
    50: '#bae58b',
    500: '#98d957',
    950: '#000000',
  },
}
SCSS
$custom: #98d957;
$custom-light: #bae58b;
$custom-dark: #000000;
JSON
{
  "hex": "#98d957",
  "rgb": {
    "r": 152,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 90,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.1747,
    "h": 131.6
  },
  "luminance": 0.56989
}

Semantic roles & 50–950 ramp

primary
#98D957
secondary
#6A3B99
accent
#42E694
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D957

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

Preview Lab → · Contrast checker → · Palette generator →

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