#40C05A#40C05A

#40C05A is a light, vivid green. Relative luminance 0.395; OKLCH L 71.5% C 0.181 H 147.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#40C05A
RGBrgb(64, 192, 90)
HSLhsl(132, 50%, 50%)
HSVhsv(132, 67%, 75%)
CMYKcmyk(66.7%, 0%, 53.1%, 24.7%)
CIE-LABlab(69.13, -56.23, 41.02)
CIE-LCHlch(69.13, 69.60, 143.89°)
OKLaboklab(71.5% -0.1517 0.0985)
OKLCHoklch(71.5% 0.181 147)
XYZxyz(22.8078, 39.5250, 16.0980)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C05A #C040A6
analogous
#66C040 #40C05A #40C09A
triadic
#40C05A #5A40C0 #C05A40
tetradic
#40C05A #4066C0 #C040A6 #C09A40
square
#40C05A #4066C0 #C040A6 #C09A40
split-complementary
#40C05A #9A40C0 #C04066
monochromatic
#21642F #309244 #40C05A #6ECF82 #9CDEAA

Accessibility & contrast

On white

2.36
#40C05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#40C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C05A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C05A#FFFFFF#000000##000000
##40C05A1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF51
Deuteranopia (green-blind)
#B3A462
Tritanopia (blue-blind)
#11BCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c05a;
/* rgb */ color: rgb(64, 192, 90);
/* oklch */ color: oklch(71.5% 0.181 147.0);
Tailwind
colors: {
  custom: {
    50: '#84d48b',
    500: '#40c05a',
    950: '#000000',
  },
}
SCSS
$custom: #40c05a;
$custom-light: #84d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c05a",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 132.188,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.18091,
    "h": 147
  },
  "luminance": 0.39527
}

Semantic roles & 50–950 ramp

primary
#40C05A
secondary
#CB91BF
accent
#4EBDDA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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