#98D042#98D042

#98D042 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.2% C 0.179 H 128.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#98D042
RGBrgb(152, 208, 66)
HSLhsl(84, 60%, 54%)
HSVhsv(84, 68%, 82%)
CMYKcmyk(26.9%, 0%, 68.3%, 18.4%)
CIE-LABlab(77.39, -39.14, 61.77)
CIE-LCHlch(77.39, 73.13, 122.36°)
OKLaboklab(79.18% -0.1114 0.1398)
OKLCHoklch(79.18% 0.179 128.6)
XYZxyz(36.4881, 52.1796, 13.3025)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D042 #7A42D0
analogous
#D0C142 #98D042 #51D042
triadic
#98D042 #4298D0 #D04298
tetradic
#98D042 #42D0C1 #7A42D0 #D04251
square
#98D042 #42D0C1 #7A42D0 #D04251
split-complementary
#98D042 #4251D0 #C142D0
monochromatic
#55791E #78AA2A #98D042 #B3DC73 #CDE8A4

Accessibility & contrast

On white

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

On black

11.44
#98D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D042
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D042#FFFFFF#000000##000000
##98D0421.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#9DC7B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #98d042;
/* rgb */ color: rgb(152, 208, 66);
/* oklch */ color: oklch(79.2% 0.179 128.6);
Tailwind
colors: {
  custom: {
    50: '#bade7e',
    500: '#98d042',
    950: '#000000',
  },
}
SCSS
$custom: #98d042;
$custom-light: #bade7e;
$custom-dark: #000000;
JSON
{
  "hex": "#98d042",
  "rgb": {
    "r": 152,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 83.662,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79179,
    "c": 0.17876,
    "h": 128.6
  },
  "luminance": 0.5218
}

Semantic roles & 50–950 ramp

primary
#98D042
secondary
#533581
accent
#44E383
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98D042

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

Preview Lab → · Contrast checker → · Palette generator →

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