#98CC42#98CC42

#98CC42 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.2% C 0.174 H 127.8°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#98CC42
RGBrgb(152, 204, 66)
HSLhsl(83, 58%, 53%)
HSVhsv(83, 68%, 80%)
CMYKcmyk(25.5%, 0%, 67.6%, 20%)
CIE-LABlab(76.22, -37.35, 60.57)
CIE-LCHlch(76.22, 71.16, 121.66°)
OKLaboklab(78.23% -0.1065 0.1373)
OKLCHoklch(78.23% 0.174 127.8)
XYZxyz(35.5251, 50.2537, 12.9815)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC42 #7642CC
analogous
#CCBB42 #98CC42 #53CC42
triadic
#98CC42 #4298CC #CC4298
tetradic
#98CC42 #42CCBB #7642CC #CC4253
square
#98CC42 #42CCBB #7642CC #CC4253
split-complementary
#98CC42 #4253CC #BB42CC
monochromatic
#54741F #77A42C #98CC42 #B2D972 #CDE6A2

Accessibility & contrast

On white

1.90
#98CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#98CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC42
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC42#FFFFFF#000000##000000
##98CC421.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#9DC3B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #98cc42;
/* rgb */ color: rgb(152, 204, 66);
/* oklch */ color: oklch(78.2% 0.174 127.8);
Tailwind
colors: {
  custom: {
    50: '#badb7e',
    500: '#98cc42',
    950: '#000000',
  },
}
SCSS
$custom: #98cc42;
$custom-light: #badb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc42",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 82.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78234,
    "c": 0.17374,
    "h": 127.8
  },
  "luminance": 0.50254
}

Semantic roles & 50–950 ramp

primary
#98CC42
secondary
#50357D
accent
#47E181
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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