#98CC3B#98CC3B

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

Color values

HEX#98CC3B
RGBrgb(152, 204, 59)
HSLhsl(82, 59%, 52%)
HSVhsv(82, 71%, 80%)
CMYKcmyk(25.5%, 0%, 71.1%, 20%)
CIE-LABlab(76.18, -37.81, 63.14)
CIE-LCHlch(76.18, 73.60, 120.91°)
OKLaboklab(78.18% -0.1083 0.1417)
OKLCHoklch(78.18% 0.178 127.4)
XYZxyz(35.3312, 50.1762, 11.9604)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC3B #6F3BCC
analogous
#CCB73B #98CC3B #50CC3B
triadic
#98CC3B #3B98CC #CC3B98
tetradic
#98CC3B #3BCCB7 #6F3BCC #CC3B50
square
#98CC3B #3BCCB7 #6F3BCC #CC3B50
split-complementary
#98CC3B #3B50CC #B73BCC
monochromatic
#52701D #76A02A #98CC3B #B2D96C #CBE59C

Accessibility & contrast

On white

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

On black

11.04
#98CC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC3B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC3B#FFFFFF#000000##000000
##98CC3B1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98cc3b;
/* rgb */ color: rgb(152, 204, 59);
/* oklch */ color: oklch(78.2% 0.178 127.4);
Tailwind
colors: {
  custom: {
    50: '#badb7a',
    500: '#98cc3b',
    950: '#000000',
  },
}
SCSS
$custom: #98cc3b;
$custom-light: #badb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc3b",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 81.517,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78181,
    "c": 0.17833,
    "h": 127.4
  },
  "luminance": 0.50177
}

Semantic roles & 50–950 ramp

primary
#98CC3B
secondary
#4C3279
accent
#46E27E
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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