#98CF5D#98CF5D

#98CF5D is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.2% C 0.156 H 130.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#98CF5D
RGBrgb(152, 207, 93)
HSLhsl(89, 54%, 59%)
HSVhsv(89, 55%, 81%)
CMYKcmyk(26.6%, 0%, 55.1%, 18.8%)
CIE-LABlab(77.33, -36.44, 50.26)
CIE-LCHlch(77.33, 62.08, 125.95°)
OKLaboklab(79.21% -0.1017 0.1184)
OKLCHoklch(79.21% 0.156 130.7)
XYZxyz(37.2371, 52.0904, 18.4464)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF5D #945DCF
analogous
#CFCD5D #98CF5D #5FCF5D
triadic
#98CF5D #5D98CF #CF5D98
tetradic
#98CF5D #5DCFCD #945DCF #CF5D5F
square
#98CF5D #5DCFCD #945DCF #CF5D5F
split-complementary
#98CF5D #5D5FCF #CD5DCF
monochromatic
#5A8929 #7AB837 #98CF5D #B6DD8C #D4EBBB

Accessibility & contrast

On white

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

On black

11.42
#98CF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF5D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF5D#FFFFFF#000000##000000
##98CF5D1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C252
Deuteranopia (green-blind)
#D0BE65
Tritanopia (blue-blind)
#9BC7B6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #98cf5d;
/* rgb */ color: rgb(152, 207, 93);
/* oklch */ color: oklch(79.2% 0.156 130.7);
Tailwind
colors: {
  custom: {
    50: '#b9de8e',
    500: '#98cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #98cf5d;
$custom-light: #b9de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf5d",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 88.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79212,
    "c": 0.15612,
    "h": 130.7
  },
  "luminance": 0.52091
}

Semantic roles & 50–950 ramp

primary
#98CF5D
secondary
#674190
accent
#4ADE91
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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