#98CC40#98CC40

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

Color values

HEX#98CC40
RGBrgb(152, 204, 64)
HSLhsl(82, 58%, 53%)
HSVhsv(82, 69%, 80%)
CMYKcmyk(25.5%, 0%, 68.6%, 20%)
CIE-LABlab(76.21, -37.49, 61.33)
CIE-LCHlch(76.21, 71.88, 121.44°)
OKLaboklab(78.22% -0.1071 0.1386)
OKLCHoklch(78.22% 0.175 127.7)
XYZxyz(35.4672, 50.2306, 12.6764)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC40 #7440CC
analogous
#CCBA40 #98CC40 #52CC40
triadic
#98CC40 #4098CC #CC4098
tetradic
#98CC40 #40CCBA #7440CC #CC4052
square
#98CC40 #40CCBA #7440CC #CC4052
split-complementary
#98CC40 #4052CC #BA40CC
monochromatic
#54731F #77A32C #98CC40 #B2D970 #CCE6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98CC40#FFFFFF#000000##000000
##98CC401.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)
#D6BE2B
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#9DC3B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #98cc40;
/* rgb */ color: rgb(152, 204, 64);
/* oklch */ color: oklch(78.2% 0.175 127.7);
Tailwind
colors: {
  custom: {
    50: '#badb7d',
    500: '#98cc40',
    950: '#000000',
  },
}
SCSS
$custom: #98cc40;
$custom-light: #badb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc40",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 82.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78218,
    "c": 0.1751,
    "h": 127.7
  },
  "luminance": 0.50231
}

Semantic roles & 50–950 ramp

primary
#98CC40
secondary
#4F347C
accent
#47E180
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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