#98CF4F#98CF4F

#98CF4F is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.1% C 0.168 H 129.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#98CF4F
RGBrgb(152, 207, 79)
HSLhsl(86, 57%, 56%)
HSVhsv(86, 62%, 81%)
CMYKcmyk(26.6%, 0%, 61.8%, 18.8%)
CIE-LABlab(77.20, -37.72, 56.32)
CIE-LCHlch(77.20, 67.78, 123.81°)
OKLaboklab(79.06% -0.1064 0.13)
OKLCHoklch(79.06% 0.168 129.3)
XYZxyz(36.6728, 51.8647, 15.4744)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF4F #864FCF
analogous
#CFC64F #98CF4F #58CF4F
triadic
#98CF4F #4F98CF #CF4F98
tetradic
#98CF4F #4FCFC6 #864FCF #CF4F58
square
#98CF4F #4FCFC6 #864FCF #CF4F58
split-complementary
#98CF4F #4F58CF #C64FCF
monochromatic
#588123 #79B130 #98CF4F #B4DC7F #D0E9AF

Accessibility & contrast

On white

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

On black

11.37
#98CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF4F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF4F#FFFFFF#000000##000000
##98CF4F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98cf4f;
/* rgb */ color: rgb(152, 207, 79);
/* oklch */ color: oklch(79.1% 0.168 129.3);
Tailwind
colors: {
  custom: {
    50: '#bade85',
    500: '#98cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #98cf4f;
$custom-light: #bade85;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf4f",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 85.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79059,
    "c": 0.16797,
    "h": 129.3
  },
  "luminance": 0.51866
}

Semantic roles & 50–950 ramp

primary
#98CF4F
secondary
#5C3A88
accent
#47E089
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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