#98D542#98D542

#98D542 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.4% C 0.185 H 129.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#98D542
RGBrgb(152, 213, 66)
HSLhsl(85, 64%, 55%)
HSVhsv(85, 69%, 84%)
CMYKcmyk(28.6%, 0%, 69%, 16.5%)
CIE-LABlab(78.84, -41.35, 63.27)
CIE-LCHlch(78.84, 75.58, 123.17°)
OKLaboklab(80.36% -0.1174 0.1429)
OKLCHoklch(80.36% 0.185 129.4)
XYZxyz(37.7264, 54.6562, 13.7152)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D542 #7F42D5
analogous
#D5C842 #98D542 #4FD542
triadic
#98D542 #4298D5 #D54298
tetradic
#98D542 #42D5C8 #7F42D5 #D5424F
square
#98D542 #42D5C8 #7F42D5 #D5424F
split-complementary
#98D542 #424FD5 #C842D5
monochromatic
#57801C #79B228 #98D542 #B3E074 #CFEBA6

Accessibility & contrast

On white

1.76
#98D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#98D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D542
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D542#FFFFFF#000000##000000
##98D5421.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#9CCCB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #98d542;
/* rgb */ color: rgb(152, 213, 66);
/* oklch */ color: oklch(80.4% 0.185 129.4);
Tailwind
colors: {
  custom: {
    50: '#bae27f',
    500: '#98d542',
    950: '#000000',
  },
}
SCSS
$custom: #98d542;
$custom-light: #bae27f;
$custom-dark: #000000;
JSON
{
  "hex": "#98d542",
  "rgb": {
    "r": 152,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 84.898,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8036,
    "c": 0.18499,
    "h": 129.4
  },
  "luminance": 0.54657
}

Semantic roles & 50–950 ramp

primary
#98D542
secondary
#573487
accent
#41E786
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98D542

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

Preview Lab → · Contrast checker → · Palette generator →

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