#98D242#98D242

#98D242 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.7% C 0.181 H 128.9°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#98D242
RGBrgb(152, 210, 66)
HSLhsl(84, 62%, 54%)
HSVhsv(84, 69%, 82%)
CMYKcmyk(27.6%, 0%, 68.6%, 17.6%)
CIE-LABlab(77.97, -40.03, 62.37)
CIE-LCHlch(77.97, 74.11, 122.69°)
OKLaboklab(79.65% -0.1138 0.141)
OKLCHoklch(79.65% 0.181 128.9)
XYZxyz(36.9787, 53.1610, 13.4660)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D242 #7C42D2
analogous
#D2C442 #98D242 #50D242
triadic
#98D242 #4298D2 #D24298
tetradic
#98D242 #42D2C4 #7C42D2 #D24250
square
#98D242 #42D2C4 #7C42D2 #D24250
split-complementary
#98D242 #4250D2 #C442D2
monochromatic
#567C1E #78AD29 #98D242 #B3DE73 #CEEAA5

Accessibility & contrast

On white

1.81
#98D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#98D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D242
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D242#FFFFFF#000000##000000
##98D2421.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32C
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#9DC9B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d242;
/* rgb */ color: rgb(152, 210, 66);
/* oklch */ color: oklch(79.7% 0.181 128.9);
Tailwind
colors: {
  custom: {
    50: '#bae07e',
    500: '#98d242',
    950: '#000000',
  },
}
SCSS
$custom: #98d242;
$custom-light: #bae07e;
$custom-dark: #000000;
JSON
{
  "hex": "#98d242",
  "rgb": {
    "r": 152,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 84.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79651,
    "c": 0.18126,
    "h": 128.9
  },
  "luminance": 0.53162
}

Semantic roles & 50–950 ramp

primary
#98D242
secondary
#543484
accent
#43E584
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98D242

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

Preview Lab → · Contrast checker → · Palette generator →

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