#98DC5B#98DC5B

#98DC5B is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.2% C 0.175 H 132.4°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#98DC5B
RGBrgb(152, 220, 91)
HSLhsl(92, 65%, 61%)
HSVhsv(92, 59%, 86%)
CMYKcmyk(30.9%, 0%, 58.6%, 13.7%)
CIE-LABlab(81.08, -42.42, 55.46)
CIE-LCHlch(81.08, 69.82, 127.41°)
OKLaboklab(82.24% -0.1184 0.1294)
OKLCHoklch(82.24% 0.175 132.4)
XYZxyz(40.4298, 58.6157, 19.0793)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98DC5B #9F5BDC
analogous
#D8DC5B #98DC5B #5BDC5E
triadic
#98DC5B #5B98DC #DC5B98
tetradic
#98DC5B #5BD8DC #9F5BDC #DC5E5B
square
#98DC5B #5BD8DC #9F5BDC #DC5E5B
split-complementary
#98DC5B #5E5BDC #DC5BD8
monochromatic
#5B9B21 #79CE2C #98DC5B #B8E78D #D7F2C0

Accessibility & contrast

On white

1.65
#98DC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#98DC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98DC5B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98DC5B#FFFFFF#000000##000000
##98DC5B1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4D
Deuteranopia (green-blind)
#DBC764
Tritanopia (blue-blind)
#99D4C0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #98dc5b;
/* rgb */ color: rgb(152, 220, 91);
/* oklch */ color: oklch(82.2% 0.175 132.4);
Tailwind
colors: {
  custom: {
    50: '#bae78e',
    500: '#98dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #98dc5b;
$custom-light: #bae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#98dc5b",
  "rgb": {
    "r": 152,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 91.628,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82244,
    "c": 0.17539,
    "h": 132.4
  },
  "luminance": 0.58617
}

Semantic roles & 50–950 ramp

primary
#98DC5B
secondary
#703C9F
accent
#19CD78
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12160D
muted
#82847F

Preview Lab

Preview with #98DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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