#98CC5F#98CC5F

#98CC5F is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.5% C 0.150 H 130.4°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#98CC5F
RGBrgb(152, 204, 95)
HSLhsl(89, 52%, 59%)
HSVhsv(89, 53%, 80%)
CMYKcmyk(25.5%, 0%, 53.4%, 20%)
CIE-LABlab(76.49, -34.87, 48.33)
CIE-LCHlch(76.49, 59.60, 125.81°)
OKLaboklab(78.53% -0.0972 0.1144)
OKLCHoklch(78.53% 0.15 130.4)
XYZxyz(36.6069, 50.6865, 18.6790)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC5F #935FCC
analogous
#CCC95F #98CC5F #61CC5F
triadic
#98CC5F #5F98CC #CC5F98
tetradic
#98CC5F #5FCCC9 #935FCC #CC5F61
square
#98CC5F #5FCCC9 #935FCC #CC5F61
split-complementary
#98CC5F #5F61CC #C95FCC
monochromatic
#5A862B #7AB439 #98CC5F #B6DB8D #D4EABC

Accessibility & contrast

On white

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

On black

11.14
#98CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC5F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC5F#FFFFFF#000000##000000
##98CC5F1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#CDBB66
Tritanopia (blue-blind)
#9BC4B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #98cc5f;
/* rgb */ color: rgb(152, 204, 95);
/* oklch */ color: oklch(78.5% 0.150 130.4);
Tailwind
colors: {
  custom: {
    50: '#b9db8f',
    500: '#98cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #98cc5f;
$custom-light: #b9db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc5f",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 88.624,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78533,
    "c": 0.15016,
    "h": 130.4
  },
  "luminance": 0.50687
}

Semantic roles & 50–950 ramp

primary
#98CC5F
secondary
#66428D
accent
#4DDB91
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #98CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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