#98CF5A#98CF5A

#98CF5A is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.2% C 0.159 H 130.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#98CF5A
RGBrgb(152, 207, 90)
HSLhsl(88, 55%, 58%)
HSVhsv(88, 57%, 81%)
CMYKcmyk(26.6%, 0%, 56.5%, 18.8%)
CIE-LABlab(77.30, -36.74, 51.59)
CIE-LCHlch(77.30, 63.34, 125.45°)
OKLaboklab(79.18% -0.1028 0.121)
OKLCHoklch(79.18% 0.159 130.3)
XYZxyz(37.1068, 52.0383, 17.7602)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF5A #915ACF
analogous
#CFCB5A #98CF5A #5DCF5A
triadic
#98CF5A #5A98CF #CF5A98
tetradic
#98CF5A #5ACFCB #915ACF #CF5A5D
square
#98CF5A #5ACFCB #915ACF #CF5A5D
split-complementary
#98CF5A #5A5DCF #CB5ACF
monochromatic
#5A8727 #7AB735 #98CF5A #B6DD89 #D3EBB9

Accessibility & contrast

On white

1.84
#98CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#98CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF5A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF5A#FFFFFF#000000##000000
##98CF5A1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#D0BE62
Tritanopia (blue-blind)
#9BC7B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #98cf5a;
/* rgb */ color: rgb(152, 207, 90);
/* oklch */ color: oklch(79.2% 0.159 130.3);
Tailwind
colors: {
  custom: {
    50: '#b9de8c',
    500: '#98cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #98cf5a;
$custom-light: #b9de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf5a",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 88.205,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79176,
    "c": 0.15879,
    "h": 130.3
  },
  "luminance": 0.52039
}

Semantic roles & 50–950 ramp

primary
#98CF5A
secondary
#643F8E
accent
#4ADE8F
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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