#9CCC52#9CCC52

#9CCC52 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.6% C 0.160 H 127.8°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#9CCC52
RGBrgb(156, 204, 82)
HSLhsl(84, 54%, 56%)
HSVhsv(84, 60%, 80%)
CMYKcmyk(23.5%, 0%, 59.8%, 20%)
CIE-LABlab(76.60, -34.61, 54.42)
CIE-LCHlch(76.60, 64.49, 122.45°)
OKLaboklab(78.64% -0.0978 0.1262)
OKLCHoklch(78.64% 0.16 127.8)
XYZxyz(36.8261, 50.8622, 15.8582)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCC52 #8252CC
analogous
#CCBF52 #9CCC52 #5FCC52
triadic
#9CCC52 #529CCC #CC529C
tetradic
#9CCC52 #52CCBF #8252CC #CC525F
square
#9CCC52 #52CCBF #8252CC #CC525F
split-complementary
#9CCC52 #525FCC #BF52CC
monochromatic
#5B7E25 #7DAE33 #9CCC52 #B7DA81 #D2E8B1

Accessibility & contrast

On white

1.88
#9CCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#9CCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCC52
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCC52#FFFFFF#000000##000000
##9CCC521.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#A1C3B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ccc52;
/* rgb */ color: rgb(156, 204, 82);
/* oklch */ color: oklch(78.6% 0.160 127.8);
Tailwind
colors: {
  custom: {
    50: '#bcdb87',
    500: '#9ccc52',
    950: '#000000',
  },
}
SCSS
$custom: #9ccc52;
$custom-light: #bcdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccc52",
  "rgb": {
    "r": 156,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 83.607,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78639,
    "c": 0.15967,
    "h": 127.8
  },
  "luminance": 0.50863
}

Semantic roles & 50–950 ramp

primary
#9CCC52
secondary
#593C86
accent
#4ADE84
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9CCC52

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

Preview Lab → · Contrast checker → · Palette generator →

#9CCC52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva