#98D541#98D541

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

Color values

HEX#98D541
RGBrgb(152, 213, 65)
HSLhsl(85, 64%, 55%)
HSVhsv(85, 69%, 84%)
CMYKcmyk(28.6%, 0%, 69.5%, 16.5%)
CIE-LABlab(78.84, -41.41, 63.63)
CIE-LCHlch(78.84, 75.92, 123.06°)
OKLaboklab(80.35% -0.1177 0.1435)
OKLCHoklch(80.35% 0.186 129.4)
XYZxyz(37.6971, 54.6445, 13.5613)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D541 #7E41D5
analogous
#D5C841 #98D541 #4ED541
triadic
#98D541 #4198D5 #D54198
tetradic
#98D541 #41D5C8 #7E41D5 #D5414E
square
#98D541 #41D5C8 #7E41D5 #D5414E
split-complementary
#98D541 #414ED5 #C841D5
monochromatic
#577F1C #79B227 #98D541 #B3E073 #CEEBA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98D541#FFFFFF#000000##000000
##98D5411.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)
#DFC629
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#9CCCB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #98d541;
/* rgb */ color: rgb(152, 213, 65);
/* oklch */ color: oklch(80.4% 0.186 129.4);
Tailwind
colors: {
  custom: {
    50: '#bbe27e',
    500: '#98d541',
    950: '#000000',
  },
}
SCSS
$custom: #98d541;
$custom-light: #bbe27e;
$custom-dark: #000000;
JSON
{
  "hex": "#98d541",
  "rgb": {
    "r": 152,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 84.73,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80353,
    "c": 0.18563,
    "h": 129.4
  },
  "luminance": 0.54646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98D541

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

Preview Lab → · Contrast checker → · Palette generator →

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