#40C04C#40C04C

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

Color values

HEX#40C04C
RGBrgb(64, 192, 76)
HSLhsl(126, 50%, 50%)
HSVhsv(126, 67%, 75%)
CMYKcmyk(66.7%, 0%, 60.4%, 24.7%)
CIE-LABlab(68.97, -58.04, 47.40)
CIE-LCHlch(68.97, 74.93, 140.76°)
OKLaboklab(71.32% -0.157 0.1114)
OKLCHoklch(71.32% 0.193 144.7)
XYZxyz(22.2671, 39.3087, 13.2499)
Luminance0.3931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C04C #C040B4
analogous
#74C040 #40C04C #40C08C
triadic
#40C04C #4C40C0 #C04C40
tetradic
#40C04C #4074C0 #C040B4 #C08C40
square
#40C04C #4074C0 #C040B4 #C08C40
split-complementary
#40C04C #8C40C0 #C04074
monochromatic
#216427 #30923A #40C04C #6ECF77 #9CDEA2

Accessibility & contrast

On white

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

On black

8.86
#40C04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C04C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C04C#FFFFFF#000000##000000
##40C04C1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3F
Deuteranopia (green-blind)
#B4A456
Tritanopia (blue-blind)
#1BBBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c04c;
/* rgb */ color: rgb(64, 192, 76);
/* oklch */ color: oklch(71.3% 0.193 144.7);
Tailwind
colors: {
  custom: {
    50: '#85d482',
    500: '#40c04c',
    950: '#000000',
  },
}
SCSS
$custom: #40c04c;
$custom-light: #85d482;
$custom-dark: #000000;
JSON
{
  "hex": "#40c04c",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 125.625,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.19255,
    "h": 144.7
  },
  "luminance": 0.39311
}

Semantic roles & 50–950 ramp

primary
#40C04C
secondary
#CB91C5
accent
#4ECDDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C04C

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

Preview Lab → · Contrast checker → · Palette generator →

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