#98CD51#98CD51

#98CD51 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.6% C 0.164 H 129.1°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#98CD51
RGBrgb(152, 205, 81)
HSLhsl(86, 55%, 56%)
HSVhsv(86, 60%, 80%)
CMYKcmyk(25.9%, 0%, 60.5%, 19.6%)
CIE-LABlab(76.64, -36.65, 54.84)
CIE-LCHlch(76.64, 65.96, 123.76°)
OKLaboklab(78.61% -0.1033 0.127)
OKLCHoklch(78.61% 0.164 129.1)
XYZxyz(36.2652, 50.9313, 15.7030)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CD51 #8651CD
analogous
#CDC451 #98CD51 #5ACD51
triadic
#98CD51 #5198CD #CD5198
tetradic
#98CD51 #51CDC4 #8651CD #CD515A
square
#98CD51 #51CDC4 #8651CD #CD515A
split-complementary
#98CD51 #515ACD #C451CD
monochromatic
#587F25 #79AF32 #98CD51 #B4DB81 #D0E8B0

Accessibility & contrast

On white

1.88
#98CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#98CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CD51
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CD51#FFFFFF#000000##000000
##98CD511.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C043
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#9CC5B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #98cd51;
/* rgb */ color: rgb(152, 205, 81);
/* oklch */ color: oklch(78.6% 0.164 129.1);
Tailwind
colors: {
  custom: {
    50: '#b9dc86',
    500: '#98cd51',
    950: '#000000',
  },
}
SCSS
$custom: #98cd51;
$custom-light: #b9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#98cd51",
  "rgb": {
    "r": 152,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 85.645,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78608,
    "c": 0.16374,
    "h": 129.1
  },
  "luminance": 0.50932
}

Semantic roles & 50–950 ramp

primary
#98CD51
secondary
#5C3B87
accent
#49DF89
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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