#98C842#98C842

#98C842 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.3% C 0.169 H 127.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#98C842
RGBrgb(152, 200, 66)
HSLhsl(81, 55%, 52%)
HSVhsv(81, 67%, 78%)
CMYKcmyk(24%, 0%, 67%, 21.6%)
CIE-LABlab(75.06, -35.54, 59.37)
CIE-LCHlch(75.06, 69.19, 120.91°)
OKLaboklab(77.29% -0.1015 0.1347)
OKLCHoklch(77.29% 0.169 127)
XYZxyz(34.5866, 48.3767, 12.6686)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C842 #7242C8
analogous
#C8B542 #98C842 #55C842
triadic
#98C842 #4298C8 #C84298
tetradic
#98C842 #42C8B5 #7242C8 #C84255
square
#98C842 #42C8B5 #7242C8 #C84255
split-complementary
#98C842 #4255C8 #B542C8
monochromatic
#536F20 #769F2E #98C842 #B2D671 #CCE4A1

Accessibility & contrast

On white

1.97
#98C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#98C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C842
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C842#FFFFFF#000000##000000
##98C8421.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#9EBFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #98c842;
/* rgb */ color: rgb(152, 200, 66);
/* oklch */ color: oklch(77.3% 0.169 127.0);
Tailwind
colors: {
  custom: {
    50: '#bad97d',
    500: '#98c842',
    950: '#000000',
  },
}
SCSS
$custom: #98c842;
$custom-light: #bad97d;
$custom-dark: #000000;
JSON
{
  "hex": "#98c842",
  "rgb": {
    "r": 152,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 81.493,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77292,
    "c": 0.16871,
    "h": 127
  },
  "luminance": 0.48377
}

Semantic roles & 50–950 ramp

primary
#98C842
secondary
#AB96D0
accent
#4ADE7F
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C842

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

Preview Lab → · Contrast checker → · Palette generator →

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