#98CF54#98CF54

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

Color values

HEX#98CF54
RGBrgb(152, 207, 84)
HSLhsl(87, 56%, 57%)
HSVhsv(87, 59%, 81%)
CMYKcmyk(26.6%, 0%, 59.4%, 18.8%)
CIE-LABlab(77.25, -37.29, 54.21)
CIE-LCHlch(77.25, 65.79, 124.53°)
OKLaboklab(79.11% -0.1048 0.126)
OKLCHoklch(79.11% 0.164 129.8)
XYZxyz(36.8617, 51.9402, 16.4691)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF54 #8B54CF
analogous
#CFC854 #98CF54 #5BCF54
triadic
#98CF54 #5498CF #CF5498
tetradic
#98CF54 #54CFC8 #8B54CF #CF545B
square
#98CF54 #54CFC8 #8B54CF #CF545B
split-complementary
#98CF54 #545BCF #C854CF
monochromatic
#598425 #7AB332 #98CF54 #B5DC84 #D2EAB4

Accessibility & contrast

On white

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

On black

11.39
#98CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF54
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF54#FFFFFF#000000##000000
##98CF541.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C146
Deuteranopia (green-blind)
#D0BD5D
Tritanopia (blue-blind)
#9CC7B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #98cf54;
/* rgb */ color: rgb(152, 207, 84);
/* oklch */ color: oklch(79.1% 0.164 129.8);
Tailwind
colors: {
  custom: {
    50: '#b9de88',
    500: '#98cf54',
    950: '#000000',
  },
}
SCSS
$custom: #98cf54;
$custom-light: #b9de88;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf54",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 86.829,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7911,
    "c": 0.16392,
    "h": 129.8
  },
  "luminance": 0.51941
}

Semantic roles & 50–950 ramp

primary
#98CF54
secondary
#5F3C8B
accent
#48DF8C
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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