#40C04E#40C04E

#40C04E is a light, vivid green. Relative luminance 0.393; OKLCH L 71.3% C 0.191 H 144.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#40C04E
RGBrgb(64, 192, 78)
HSLhsl(127, 50%, 50%)
HSVhsv(127, 67%, 75%)
CMYKcmyk(66.7%, 0%, 59.4%, 24.7%)
CIE-LABlab(68.99, -57.80, 46.51)
CIE-LCHlch(68.99, 74.19, 141.17°)
OKLaboklab(71.35% -0.1563 0.1097)
OKLCHoklch(71.35% 0.191 144.9)
XYZxyz(22.3377, 39.3370, 13.6218)
Luminance0.3934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C04E #C040B2
analogous
#72C040 #40C04E #40C08E
triadic
#40C04E #4E40C0 #C04E40
tetradic
#40C04E #4072C0 #C040B2 #C08E40
square
#40C04E #4072C0 #C040B2 #C08E40
split-complementary
#40C04E #8E40C0 #C04072
monochromatic
#216429 #30923B #40C04E #6ECF79 #9CDEA3

Accessibility & contrast

On white

2.37
#40C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#40C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C04E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C04E#FFFFFF#000000##000000
##40C04E1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF42
Deuteranopia (green-blind)
#B4A457
Tritanopia (blue-blind)
#1ABBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c04e;
/* rgb */ color: rgb(64, 192, 78);
/* oklch */ color: oklch(71.3% 0.191 144.9);
Tailwind
colors: {
  custom: {
    50: '#85d483',
    500: '#40c04e',
    950: '#000000',
  },
}
SCSS
$custom: #40c04e;
$custom-light: #85d483;
$custom-dark: #000000;
JSON
{
  "hex": "#40c04e",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 126.563,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71345,
    "c": 0.19096,
    "h": 144.9
  },
  "luminance": 0.39339
}

Semantic roles & 50–950 ramp

primary
#40C04E
secondary
#CB91C4
accent
#4ECBDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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