#40C05C#40C05C

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

Color values

HEX#40C05C
RGBrgb(64, 192, 92)
HSLhsl(133, 50%, 50%)
HSVhsv(133, 67%, 75%)
CMYKcmyk(66.7%, 0%, 52.1%, 24.7%)
CIE-LABlab(69.15, -55.95, 40.08)
CIE-LCHlch(69.15, 68.82, 144.38°)
OKLaboklab(71.53% -0.1509 0.0966)
OKLCHoklch(71.53% 0.179 147.4)
XYZxyz(22.8941, 39.5596, 16.5524)
Luminance0.3956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C05C #C040A4
analogous
#64C040 #40C05C #40C09C
triadic
#40C05C #5C40C0 #C05C40
tetradic
#40C05C #4064C0 #C040A4 #C09C40
square
#40C05C #4064C0 #C040A4 #C09C40
split-complementary
#40C05C #9C40C0 #C04064
monochromatic
#216430 #309246 #40C05C #6ECF83 #9CDEAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C05C#FFFFFF#000000##000000
##40C05C1.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)
#C2AF53
Deuteranopia (green-blind)
#B3A563
Tritanopia (blue-blind)
#0FBCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c05c;
/* rgb */ color: rgb(64, 192, 92);
/* oklch */ color: oklch(71.5% 0.179 147.4);
Tailwind
colors: {
  custom: {
    50: '#84d48c',
    500: '#40c05c',
    950: '#000000',
  },
}
SCSS
$custom: #40c05c;
$custom-light: #84d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c05c",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 133.125,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.17916,
    "h": 147.4
  },
  "luminance": 0.39562
}

Semantic roles & 50–950 ramp

primary
#40C05C
secondary
#CB91BE
accent
#4EBBDA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C05C

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

Preview Lab → · Contrast checker → · Palette generator →

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