#40CB4C#40CB4C

#40CB4C is a light, highly saturated green. Relative luminance 0.443; OKLCH L 74.2% C 0.206 H 144.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#40CB4C
RGBrgb(64, 203, 76)
HSLhsl(125, 57%, 52%)
HSVhsv(125, 68%, 80%)
CMYKcmyk(68.5%, 0%, 62.6%, 20.4%)
CIE-LABlab(72.44, -61.83, 51.34)
CIE-LCHlch(72.44, 80.36, 140.30°)
OKLaboklab(74.19% -0.1673 0.1198)
OKLCHoklch(74.19% 0.206 144.4)
XYZxyz(24.7732, 44.3210, 14.0853)
Luminance0.4432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB4C #CB40BF
analogous
#79CB40 #40CB4C #40CB92
triadic
#40CB4C #4C40CB #CB4C40
tetradic
#40CB4C #4079CB #CB40BF #CB9240
square
#40CB4C #4079CB #CB40BF #CB9240
split-complementary
#40CB4C #9240CB #CB4079
monochromatic
#1F7226 #2CA236 #40CB4C #70D879 #A0E5A6

Accessibility & contrast

On white

2.13
#40CB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#40CB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB4C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB4C#FFFFFF#000000##000000
##40CB4C1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93D
Deuteranopia (green-blind)
#BEAD57
Tritanopia (blue-blind)
#11C6B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb4c;
/* rgb */ color: rgb(64, 203, 76);
/* oklch */ color: oklch(74.2% 0.206 144.4);
Tailwind
colors: {
  custom: {
    50: '#87dc83',
    500: '#40cb4c',
    950: '#000000',
  },
}
SCSS
$custom: #40cb4c;
$custom-light: #87dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb4c",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 76
  },
  "hsl": {
    "h": 125.18,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.20582,
    "h": 144.4
  },
  "luminance": 0.44324
}

Semantic roles & 50–950 ramp

primary
#40CB4C
secondary
#D295CC
accent
#47D3E0
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CB4C

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

Preview Lab → · Contrast checker → · Palette generator →

#40CB4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva