#40C05E#40C05E

#40C05E is a light, vivid green. Relative luminance 0.396; OKLCH L 71.6% C 0.177 H 147.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#40C05E
RGBrgb(64, 192, 94)
HSLhsl(134, 50%, 50%)
HSVhsv(134, 67%, 75%)
CMYKcmyk(66.7%, 0%, 51%, 24.7%)
CIE-LABlab(69.18, -55.66, 39.13)
CIE-LCHlch(69.18, 68.03, 144.89°)
OKLaboklab(71.56% -0.1501 0.0946)
OKLCHoklch(71.56% 0.177 147.8)
XYZxyz(22.9827, 39.5950, 17.0189)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C05E #C040A2
analogous
#62C040 #40C05E #40C09E
triadic
#40C05E #5E40C0 #C05E40
tetradic
#40C05E #4062C0 #C040A2 #C09E40
square
#40C05E #4062C0 #C040A2 #C09E40
split-complementary
#40C05E #9E40C0 #C04062
monochromatic
#216431 #309247 #40C05E #6ECF85 #9CDEAC

Accessibility & contrast

On white

2.35
#40C05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#40C05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C05E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C05E#FFFFFF#000000##000000
##40C05E1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B056
Deuteranopia (green-blind)
#B2A565
Tritanopia (blue-blind)
#0DBCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c05e;
/* rgb */ color: rgb(64, 192, 94);
/* oklch */ color: oklch(71.6% 0.177 147.8);
Tailwind
colors: {
  custom: {
    50: '#84d48d',
    500: '#40c05e',
    950: '#000000',
  },
}
SCSS
$custom: #40c05e;
$custom-light: #84d48d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c05e",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 134.063,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71558,
    "c": 0.17739,
    "h": 147.8
  },
  "luminance": 0.39597
}

Semantic roles & 50–950 ramp

primary
#40C05E
secondary
#CB91BD
accent
#4EB9DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C05E

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

Preview Lab → · Contrast checker → · Palette generator →

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