#40C04A#40C04A

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

Color values

HEX#40C04A
RGBrgb(64, 192, 74)
HSLhsl(125, 50%, 50%)
HSVhsv(125, 67%, 75%)
CMYKcmyk(66.7%, 0%, 61.5%, 24.7%)
CIE-LABlab(68.95, -58.27, 48.27)
CIE-LCHlch(68.95, 75.67, 140.36°)
OKLaboklab(71.3% -0.1578 0.1131)
OKLCHoklch(71.3% 0.194 144.4)
XYZxyz(22.1986, 39.2814, 12.8894)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C04A #C040B6
analogous
#76C040 #40C04A #40C08A
triadic
#40C04A #4A40C0 #C04A40
tetradic
#40C04A #4076C0 #C040B6 #C08A40
square
#40C04A #4076C0 #C040B6 #C08A40
split-complementary
#40C04A #8A40C0 #C04076
monochromatic
#216426 #309238 #40C04A #6ECF76 #9CDEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C04A#FFFFFF#000000##000000
##40C04A1.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)
#C3AF3D
Deuteranopia (green-blind)
#B4A454
Tritanopia (blue-blind)
#1CBBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c04a;
/* rgb */ color: rgb(64, 192, 74);
/* oklch */ color: oklch(71.3% 0.194 144.4);
Tailwind
colors: {
  custom: {
    50: '#85d481',
    500: '#40c04a',
    950: '#000000',
  },
}
SCSS
$custom: #40c04a;
$custom-light: #85d481;
$custom-dark: #000000;
JSON
{
  "hex": "#40c04a",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 124.688,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71299,
    "c": 0.19411,
    "h": 144.4
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#40C04A
secondary
#CB91C6
accent
#4ECFDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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