#9CCC3A#9CCC3A

#9CCC3A is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.4% C 0.177 H 126.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#9CCC3A
RGBrgb(156, 204, 58)
HSLhsl(80, 59%, 51%)
HSVhsv(80, 72%, 80%)
CMYKcmyk(23.5%, 0%, 71.6%, 20%)
CIE-LABlab(76.41, -36.33, 63.81)
CIE-LCHlch(76.41, 73.43, 119.66°)
OKLaboklab(78.43% -0.1046 0.1428)
OKLCHoklch(78.43% 0.177 126.2)
XYZxyz(36.0671, 50.5586, 11.8608)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCC3A #6A3ACC
analogous
#CCB33A #9CCC3A #53CC3A
triadic
#9CCC3A #3A9CCC #CC3A9C
tetradic
#9CCC3A #3ACCB3 #6A3ACC #CC3A53
square
#9CCC3A #3ACCB3 #6A3ACC #CC3A53
split-complementary
#9CCC3A #3A53CC #B33ACC
monochromatic
#546F1D #79A029 #9CCC3A #B4D96B #CDE59B

Accessibility & contrast

On white

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

On black

11.11
#9CCC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCC3A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCC3A#FFFFFF#000000##000000
##9CCC3A1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE20
Deuteranopia (green-blind)
#D0BC47
Tritanopia (blue-blind)
#A2C2B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ccc3a;
/* rgb */ color: rgb(156, 204, 58);
/* oklch */ color: oklch(78.4% 0.177 126.2);
Tailwind
colors: {
  custom: {
    50: '#bddb79',
    500: '#9ccc3a',
    950: '#000000',
  },
}
SCSS
$custom: #9ccc3a;
$custom-light: #bddb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccc3a",
  "rgb": {
    "r": 156,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 79.726,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78431,
    "c": 0.17703,
    "h": 126.2
  },
  "luminance": 0.50559
}

Semantic roles & 50–950 ramp

primary
#9CCC3A
secondary
#493278
accent
#46E279
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9CCC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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