#9CC231#9CC231

#9CC231 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.0% C 0.170 H 123.6°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#9CC231
RGBrgb(156, 194, 49)
HSLhsl(76, 60%, 48%)
HSVhsv(76, 75%, 76%)
CMYKcmyk(19.6%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.46, -32.23, 64.04)
CIE-LCHlch(73.46, 71.69, 116.72°)
OKLaboklab(76.03% -0.0941 0.1419)
OKLCHoklch(76.03% 0.17 123.6)
XYZxyz(33.5569, 45.8730, 9.9916)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC231 #5731C2
analogous
#C29F31 #9CC231 #54C231
triadic
#9CC231 #319CC2 #C2319C
tetradic
#9CC231 #31C29F #5731C2 #C23154
square
#9CC231 #31C29F #5731C2 #C23154
split-complementary
#9CC231 #3154C2 #9F31C2
monochromatic
#4D6018 #759125 #9CC231 #B5D65B #CBE28C

Accessibility & contrast

On white

2.06
#9CC231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#9CC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC231
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC231#FFFFFF#000000##000000
##9CC2311.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB610
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#A4B8A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9cc231;
/* rgb */ color: rgb(156, 194, 49);
/* oklch */ color: oklch(76.0% 0.170 123.6);
Tailwind
colors: {
  custom: {
    50: '#bdd474',
    500: '#9cc231',
    950: '#000000',
  },
}
SCSS
$custom: #9cc231;
$custom-light: #bdd474;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc231",
  "rgb": {
    "r": 156,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 75.724,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76027,
    "c": 0.17025,
    "h": 123.6
  },
  "luminance": 0.45873
}

Semantic roles & 50–950 ramp

primary
#9CC231
secondary
#9683CC
accent
#45E36E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #9CC231

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

Preview Lab → · Contrast checker → · Palette generator →

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