#98D540#98D540

#98D540 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.3% C 0.186 H 129.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#98D540
RGBrgb(152, 213, 64)
HSLhsl(85, 64%, 54%)
HSVhsv(85, 70%, 84%)
CMYKcmyk(28.6%, 0%, 70%, 16.5%)
CIE-LABlab(78.83, -41.48, 63.99)
CIE-LCHlch(78.83, 76.26, 122.95°)
OKLaboklab(80.35% -0.118 0.1442)
OKLCHoklch(80.35% 0.186 129.3)
XYZxyz(37.6684, 54.6330, 13.4101)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D540 #7D40D5
analogous
#D5C840 #98D540 #4ED540
triadic
#98D540 #4098D5 #D54098
tetradic
#98D540 #40D5C8 #7D40D5 #D5404E
square
#98D540 #40D5C8 #7D40D5 #D5404E
split-complementary
#98D540 #404ED5 #C840D5
monochromatic
#567F1C #78B127 #98D540 #B3E072 #CEEBA4

Accessibility & contrast

On white

1.76
#98D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#98D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D540
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D540#FFFFFF#000000##000000
##98D5401.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#9CCCB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #98d540;
/* rgb */ color: rgb(152, 213, 64);
/* oklch */ color: oklch(80.3% 0.186 129.3);
Tailwind
colors: {
  custom: {
    50: '#bbe27d',
    500: '#98d540',
    950: '#000000',
  },
}
SCSS
$custom: #98d540;
$custom-light: #bbe27d;
$custom-dark: #000000;
JSON
{
  "hex": "#98d540",
  "rgb": {
    "r": 152,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 84.564,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80345,
    "c": 0.18627,
    "h": 129.3
  },
  "luminance": 0.54634
}

Semantic roles & 50–950 ramp

primary
#98D540
secondary
#553386
accent
#41E785
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98D540

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

Preview Lab → · Contrast checker → · Palette generator →

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