#9CC831#9CC831

#9CC831 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.4% C 0.177 H 125.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#9CC831
RGBrgb(156, 200, 49)
HSLhsl(77, 61%, 49%)
HSVhsv(77, 76%, 78%)
CMYKcmyk(22%, 0%, 75.5%, 21.6%)
CIE-LABlab(75.20, -35.00, 65.69)
CIE-LCHlch(75.20, 74.43, 118.05°)
OKLaboklab(77.43% -0.1017 0.1453)
OKLCHoklch(77.43% 0.177 125)
XYZxyz(34.9193, 48.5978, 10.4458)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC831 #5D31C8
analogous
#C8A931 #9CC831 #51C831
triadic
#9CC831 #319CC8 #C8319C
tetradic
#9CC831 #31C8A9 #5D31C8 #C83151
square
#9CC831 #31C8A9 #5D31C8 #C83151
split-complementary
#9CC831 #3151C8 #A931C8
monochromatic
#4F6619 #769725 #9CC831 #B4D85F #CBE490

Accessibility & contrast

On white

1.96
#9CC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#9CC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC831
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC831#FFFFFF#000000##000000
##9CC8311.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0B
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#A3BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9cc831;
/* rgb */ color: rgb(156, 200, 49);
/* oklch */ color: oklch(77.4% 0.177 125.0);
Tailwind
colors: {
  custom: {
    50: '#bdd875',
    500: '#9cc831',
    950: '#000000',
  },
}
SCSS
$custom: #9cc831;
$custom-light: #bdd875;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc831",
  "rgb": {
    "r": 156,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 77.483,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77433,
    "c": 0.17738,
    "h": 125
  },
  "luminance": 0.48598
}

Semantic roles & 50–950 ramp

primary
#9CC831
secondary
#9B86CE
accent
#44E473
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #9CC831

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

Preview Lab → · Contrast checker → · Palette generator →

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