#98CC4F#98CC4F

#98CC4F is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.4% C 0.164 H 128.8°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#98CC4F
RGBrgb(152, 204, 79)
HSLhsl(85, 55%, 55%)
HSVhsv(85, 61%, 80%)
CMYKcmyk(25.5%, 0%, 61.3%, 20%)
CIE-LABlab(76.33, -36.37, 55.36)
CIE-LCHlch(76.33, 66.24, 123.30°)
OKLaboklab(78.35% -0.1027 0.1279)
OKLCHoklch(78.35% 0.164 128.8)
XYZxyz(35.9529, 50.4249, 15.2344)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC4F #834FCC
analogous
#CCC14F #98CC4F #59CC4F
triadic
#98CC4F #4F98CC #CC4F98
tetradic
#98CC4F #4FCCC1 #834FCC #CC4F59
square
#98CC4F #4FCCC1 #834FCC #CC4F59
split-complementary
#98CC4F #4F59CC #C14FCC
monochromatic
#587D24 #79AC32 #98CC4F #B4DA7E #D0E7AE

Accessibility & contrast

On white

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

On black

11.09
#98CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC4F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC4F#FFFFFF#000000##000000
##98CC4F1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF40
Deuteranopia (green-blind)
#CEBB58
Tritanopia (blue-blind)
#9CC4B2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #98cc4f;
/* rgb */ color: rgb(152, 204, 79);
/* oklch */ color: oklch(78.4% 0.164 128.8);
Tailwind
colors: {
  custom: {
    50: '#b9db85',
    500: '#98cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #98cc4f;
$custom-light: #b9db85;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc4f",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 84.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78353,
    "c": 0.16404,
    "h": 128.8
  },
  "luminance": 0.50426
}

Semantic roles & 50–950 ramp

primary
#98CC4F
secondary
#593B84
accent
#49DE87
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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