#9CCC2D#9CCC2D

#9CCC2D is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.4% C 0.184 H 125.7°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#9CCC2D
RGBrgb(156, 204, 45)
HSLhsl(78, 64%, 49%)
HSVhsv(78, 78%, 80%)
CMYKcmyk(23.5%, 0%, 77.9%, 20%)
CIE-LABlab(76.34, -37.00, 67.98)
CIE-LCHlch(76.34, 77.40, 118.56°)
OKLaboklab(78.35% -0.1074 0.1495)
OKLCHoklch(78.35% 0.184 125.7)
XYZxyz(35.7771, 50.4426, 10.3336)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCC2D #5D2DCC
analogous
#CCAD2D #9CCC2D #4DCC2D
triadic
#9CCC2D #2D9CCC #CC2D9C
tetradic
#9CCC2D #2DCCAD #5D2DCC #CC2D4D
square
#9CCC2D #2DCCAD #5D2DCC #CC2D4D
split-complementary
#9CCC2D #2D4DCC #AD2DCC
monochromatic
#4F6817 #769A22 #9CCC2D #B4DB5B #CBE68D

Accessibility & contrast

On white

1.89
#9CCC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#9CCC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCC2D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCC2D#FFFFFF#000000##000000
##9CCC2D1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D1BC3E
Tritanopia (blue-blind)
#A3C2AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ccc2d;
/* rgb */ color: rgb(156, 204, 45);
/* oklch */ color: oklch(78.4% 0.184 125.7);
Tailwind
colors: {
  custom: {
    50: '#bedb73',
    500: '#9ccc2d',
    950: '#000000',
  },
}
SCSS
$custom: #9ccc2d;
$custom-light: #bedb73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccc2d",
  "rgb": {
    "r": 156,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 78.113,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78351,
    "c": 0.18413,
    "h": 125.7
  },
  "luminance": 0.50443
}

Semantic roles & 50–950 ramp

primary
#9CCC2D
secondary
#412B72
accent
#41E773
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #9CCC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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