#98CF4A#98CF4A

#98CF4A is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.0% C 0.172 H 128.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#98CF4A
RGBrgb(152, 207, 74)
HSLhsl(85, 58%, 55%)
HSVhsv(85, 64%, 81%)
CMYKcmyk(26.6%, 0%, 64.3%, 18.8%)
CIE-LABlab(77.16, -38.12, 58.36)
CIE-LCHlch(77.16, 69.71, 123.15°)
OKLaboklab(79.01% -0.1079 0.1337)
OKLCHoklch(79.01% 0.172 128.9)
XYZxyz(36.4976, 51.7946, 14.5517)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF4A #814ACF
analogous
#CFC44A #98CF4A #55CF4A
triadic
#98CF4A #4A98CF #CF4A98
tetradic
#98CF4A #4ACFC4 #814ACF #CF4A55
square
#98CF4A #4ACFC4 #814ACF #CF4A55
split-complementary
#98CF4A #4A55CF #C44ACF
monochromatic
#577D21 #79AE2E #98CF4A #B4DC7A #CFE9AB

Accessibility & contrast

On white

1.85
#98CF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#98CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF4A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF4A#FFFFFF#000000##000000
##98CF4A1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C139
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#9CC6B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #98cf4a;
/* rgb */ color: rgb(152, 207, 74);
/* oklch */ color: oklch(79.0% 0.172 128.9);
Tailwind
colors: {
  custom: {
    50: '#bade82',
    500: '#98cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #98cf4a;
$custom-light: #bade82;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf4a",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 84.812,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79011,
    "c": 0.17181,
    "h": 128.9
  },
  "luminance": 0.51795
}

Semantic roles & 50–950 ramp

primary
#98CF4A
secondary
#583885
accent
#46E187
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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