#98D942#98D942

#98D942 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.3% C 0.190 H 130.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#98D942
RGBrgb(152, 217, 66)
HSLhsl(86, 67%, 55%)
HSVhsv(86, 70%, 85%)
CMYKcmyk(30%, 0%, 69.6%, 14.9%)
CIE-LABlab(80.01, -43.09, 64.45)
CIE-LCHlch(80.01, 77.53, 123.76°)
OKLaboklab(81.31% -0.1222 0.1454)
OKLCHoklch(81.31% 0.19 130)
XYZxyz(38.7449, 56.6933, 14.0547)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D942 #8342D9
analogous
#D9CF42 #98D942 #4CD942
triadic
#98D942 #4298D9 #D94298
tetradic
#98D942 #42D9CF #8342D9 #D9424C
square
#98D942 #42D9CF #8342D9 #D9424C
split-complementary
#98D942 #424CD9 #CF42D9
monochromatic
#58861B #79B925 #98D942 #B4E375 #D0EDA8

Accessibility & contrast

On white

1.70
#98D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#98D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D942
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D942#FFFFFF#000000##000000
##98D9421.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92A
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#9CD0BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #98d942;
/* rgb */ color: rgb(152, 217, 66);
/* oklch */ color: oklch(81.3% 0.190 130.0);
Tailwind
colors: {
  custom: {
    50: '#bbe57f',
    500: '#98d942',
    950: '#000000',
  },
}
SCSS
$custom: #98d942;
$custom-light: #bbe57f;
$custom-dark: #000000;
JSON
{
  "hex": "#98d942",
  "rgb": {
    "r": 152,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 85.828,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81307,
    "c": 0.18993,
    "h": 130
  },
  "luminance": 0.56694
}

Semantic roles & 50–950 ramp

primary
#98D942
secondary
#59338C
accent
#3EE988
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98D942

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

Preview Lab → · Contrast checker → · Palette generator →

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