#9CC731#9CC731

#9CC731 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.2% C 0.176 H 124.8°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#9CC731
RGBrgb(156, 199, 49)
HSLhsl(77, 60%, 49%)
HSVhsv(77, 75%, 78%)
CMYKcmyk(21.6%, 0%, 75.4%, 22%)
CIE-LABlab(74.91, -34.54, 65.41)
CIE-LCHlch(74.91, 73.97, 117.84°)
OKLaboklab(77.2% -0.1004 0.1448)
OKLCHoklch(77.2% 0.176 124.8)
XYZxyz(34.6884, 48.1361, 10.3688)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC731 #5C31C7
analogous
#C7A731 #9CC731 #51C731
triadic
#9CC731 #319CC7 #C7319C
tetradic
#9CC731 #31C7A7 #5C31C7 #C73151
square
#9CC731 #31C7A7 #5C31C7 #C73151
split-complementary
#9CC731 #3151C7 #A731C7
monochromatic
#4F6519 #769625 #9CC731 #B5D75E #CBE38F

Accessibility & contrast

On white

1.98
#9CC731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#9CC731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC731
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC731#FFFFFF#000000##000000
##9CC7311.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#CCB83F
Tritanopia (blue-blind)
#A3BDAB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9cc731;
/* rgb */ color: rgb(156, 199, 49);
/* oklch */ color: oklch(77.2% 0.176 124.8);
Tailwind
colors: {
  custom: {
    50: '#bdd875',
    500: '#9cc731',
    950: '#000000',
  },
}
SCSS
$custom: #9cc731;
$custom-light: #bdd875;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc731",
  "rgb": {
    "r": 156,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 77.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77199,
    "c": 0.17619,
    "h": 124.8
  },
  "luminance": 0.48137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CC731

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

Preview Lab → · Contrast checker → · Palette generator →

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