#40CB40#40CB40

#40CB40 is a light, highly saturated green. Relative luminance 0.442; OKLCH L 74.1% C 0.214 H 143.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#40CB40
RGBrgb(64, 203, 64)
HSLhsl(120, 57%, 52%)
HSVhsv(120, 68%, 80%)
CMYKcmyk(68.5%, 0%, 68.5%, 20.4%)
CIE-LABlab(72.34, -63.03, 56.19)
CIE-LCHlch(72.34, 84.44, 138.29°)
OKLaboklab(74.08% -0.1711 0.1288)
OKLCHoklch(74.08% 0.214 143)
XYZxyz(24.3942, 44.1694, 12.0894)
Luminance0.4417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB40 #CB40CB
analogous
#86CB40 #40CB40 #40CB86
triadic
#40CB40 #4040CB #CB4040
tetradic
#40CB40 #4086CB #CB40CB #CB8640
square
#40CB40 #4086CB #CB40CB #CB8640
split-complementary
#40CB40 #8640CB #CB4086
monochromatic
#1F721F #2CA22C #40CB40 #70D870 #A0E5A0

Accessibility & contrast

On white

2.14
#40CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#40CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB40
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB40#FFFFFF#000000##000000
##40CB401.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#18C5AF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40cb40;
/* rgb */ color: rgb(64, 203, 64);
/* oklch */ color: oklch(74.1% 0.214 143.0);
Tailwind
colors: {
  custom: {
    50: '#87dc7c',
    500: '#40cb40',
    950: '#000000',
  },
}
SCSS
$custom: #40cb40;
$custom-light: #87dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb40",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74076,
    "c": 0.2142,
    "h": 143
  },
  "luminance": 0.44172
}

Semantic roles & 50–950 ramp

primary
#40CB40
secondary
#D295D2
accent
#47E0E0
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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