#98CC3A#98CC3A

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

Color values

HEX#98CC3A
RGBrgb(152, 204, 58)
HSLhsl(81, 59%, 51%)
HSVhsv(81, 72%, 80%)
CMYKcmyk(25.5%, 0%, 71.6%, 20%)
CIE-LABlab(76.17, -37.87, 63.49)
CIE-LCHlch(76.17, 73.93, 120.81°)
OKLaboklab(78.17% -0.1086 0.1422)
OKLCHoklch(78.17% 0.179 127.4)
XYZxyz(35.3055, 50.1659, 11.8251)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC3A #6E3ACC
analogous
#CCB73A #98CC3A #4FCC3A
triadic
#98CC3A #3A98CC #CC3A98
tetradic
#98CC3A #3ACCB7 #6E3ACC #CC3A4F
square
#98CC3A #3ACCB7 #6E3ACC #CC3A4F
split-complementary
#98CC3A #3A4FCC #B73ACC
monochromatic
#526F1D #75A029 #98CC3A #B1D96B #CBE59B

Accessibility & contrast

On white

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

On black

11.03
#98CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC3A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC3A#FFFFFF#000000##000000
##98CC3A1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE20
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#9EC3B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #98cc3a;
/* rgb */ color: rgb(152, 204, 58);
/* oklch */ color: oklch(78.2% 0.179 127.4);
Tailwind
colors: {
  custom: {
    50: '#badb79',
    500: '#98cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #98cc3a;
$custom-light: #badb79;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc3a",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 81.37,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78174,
    "c": 0.17894,
    "h": 127.4
  },
  "luminance": 0.50167
}

Semantic roles & 50–950 ramp

primary
#98CC3A
secondary
#4B3278
accent
#46E27D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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