#98D457#98D457

#98D457 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.3% C 0.168 H 130.9°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#98D457
RGBrgb(152, 212, 87)
HSLhsl(89, 59%, 59%)
HSVhsv(89, 59%, 83%)
CMYKcmyk(28.3%, 0%, 59%, 16.9%)
CIE-LABlab(78.72, -39.26, 54.55)
CIE-LCHlch(78.72, 67.21, 125.74°)
OKLaboklab(80.32% -0.11 0.1271)
OKLCHoklch(80.32% 0.168 130.9)
XYZxyz(38.2123, 54.4494, 17.5115)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D457 #9357D4
analogous
#D4D157 #98D457 #59D457
triadic
#98D457 #5798D4 #D45798
tetradic
#98D457 #57D4D1 #9357D4 #D45759
square
#98D457 #57D4D1 #9357D4 #D45759
split-complementary
#98D457 #5759D4 #D157D4
monochromatic
#5A8D24 #7ABD30 #98D457 #B6E088 #D4EDB8

Accessibility & contrast

On white

1.77
#98D457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#98D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D457
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D457#FFFFFF#000000##000000
##98D4571.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#9BCCB9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #98d457;
/* rgb */ color: rgb(152, 212, 87);
/* oklch */ color: oklch(80.3% 0.168 130.9);
Tailwind
colors: {
  custom: {
    50: '#bae18b',
    500: '#98d457',
    950: '#000000',
  },
}
SCSS
$custom: #98d457;
$custom-light: #bae18b;
$custom-dark: #000000;
JSON
{
  "hex": "#98d457",
  "rgb": {
    "r": 152,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 88.8,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80318,
    "c": 0.16807,
    "h": 130.9
  },
  "luminance": 0.5445
}

Semantic roles & 50–950 ramp

primary
#98D457
secondary
#663D93
accent
#45E291
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D457

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

Preview Lab → · Contrast checker → · Palette generator →

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