#98CC5A#98CC5A

#98CC5A is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.5% C 0.155 H 129.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#98CC5A
RGBrgb(152, 204, 90)
HSLhsl(87, 53%, 58%)
HSVhsv(87, 56%, 80%)
CMYKcmyk(25.5%, 0%, 55.9%, 20%)
CIE-LABlab(76.44, -35.37, 50.59)
CIE-LCHlch(76.44, 61.73, 124.96°)
OKLaboklab(78.47% -0.099 0.1189)
OKLCHoklch(78.47% 0.155 129.8)
XYZxyz(36.3869, 50.5985, 17.5203)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC5A #8E5ACC
analogous
#CCC75A #98CC5A #5FCC5A
triadic
#98CC5A #5A98CC #CC5A98
tetradic
#98CC5A #5ACCC7 #8E5ACC #CC5A5F
square
#98CC5A #5ACCC7 #8E5ACC #CC5A5F
split-complementary
#98CC5A #5A5FCC #C75ACC
monochromatic
#5A8329 #7AB237 #98CC5A #B5DA89 #D2E9B7

Accessibility & contrast

On white

1.89
#98CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#98CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC5A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC5A#FFFFFF#000000##000000
##98CC5A1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#CDBB62
Tritanopia (blue-blind)
#9BC4B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #98cc5a;
/* rgb */ color: rgb(152, 204, 90);
/* oklch */ color: oklch(78.5% 0.155 129.8);
Tailwind
colors: {
  custom: {
    50: '#b9db8c',
    500: '#98cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #98cc5a;
$custom-light: #b9db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc5a",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 87.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78473,
    "c": 0.1547,
    "h": 129.8
  },
  "luminance": 0.50599
}

Semantic roles & 50–950 ramp

primary
#98CC5A
secondary
#62408A
accent
#4CDC8E
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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