#9CC12D#9CC12D

#9CC12D is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.8% C 0.171 H 123.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#9CC12D
RGBrgb(156, 193, 45)
HSLhsl(75, 62%, 47%)
HSVhsv(75, 77%, 76%)
CMYKcmyk(19.2%, 0%, 76.7%, 24.3%)
CIE-LABlab(73.15, -31.96, 65.03)
CIE-LCHlch(73.15, 72.46, 116.17°)
OKLaboklab(75.77% -0.0937 0.1433)
OKLCHoklch(75.77% 0.171 123.2)
XYZxyz(33.2544, 45.3971, 9.4927)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC12D #522DC1
analogous
#C19C2D #9CC12D #52C12D
triadic
#9CC12D #2D9CC1 #C12D9C
tetradic
#9CC12D #2DC19C #522DC1 #C12D52
square
#9CC12D #2DC19C #522DC1 #C12D52
split-complementary
#9CC12D #2D52C1 #9C2DC1
monochromatic
#4C5E16 #748F21 #9CC12D #B6D754 #CBE386

Accessibility & contrast

On white

2.08
#9CC12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#9CC12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC12D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC12D#FFFFFF#000000##000000
##9CC12D1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB502
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#A4B7A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9cc12d;
/* rgb */ color: rgb(156, 193, 45);
/* oklch */ color: oklch(75.8% 0.171 123.2);
Tailwind
colors: {
  custom: {
    50: '#bdd372',
    500: '#9cc12d',
    950: '#000000',
  },
}
SCSS
$custom: #9cc12d;
$custom-light: #bdd372;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc12d",
  "rgb": {
    "r": 156,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 75,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7577,
    "c": 0.17121,
    "h": 123.2
  },
  "luminance": 0.45397
}

Semantic roles & 50–950 ramp

primary
#9CC12D
secondary
#917ECC
accent
#43E56B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #9CC12D

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

Preview Lab → · Contrast checker → · Palette generator →

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