#40C04F#40C04F

#40C04F is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.190 H 145.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#40C04F
RGBrgb(64, 192, 79)
HSLhsl(127, 50%, 50%)
HSVhsv(127, 67%, 75%)
CMYKcmyk(66.7%, 0%, 58.9%, 24.7%)
CIE-LABlab(69.00, -57.68, 46.07)
CIE-LCHlch(69.00, 73.82, 141.38°)
OKLaboklab(71.36% -0.156 0.1088)
OKLCHoklch(71.36% 0.19 145.1)
XYZxyz(22.3738, 39.3514, 13.8121)
Luminance0.3935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C04F #C040B1
analogous
#71C040 #40C04F #40C08F
triadic
#40C04F #4F40C0 #C04F40
tetradic
#40C04F #4071C0 #C040B1 #C08F40
square
#40C04F #4071C0 #C040B1 #C08F40
split-complementary
#40C04F #8F40C0 #C04071
monochromatic
#216429 #30923C #40C04F #6ECF79 #9CDEA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C04F#FFFFFF#000000##000000
##40C04F1.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)
#C3AF43
Deuteranopia (green-blind)
#B4A458
Tritanopia (blue-blind)
#19BBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c04f;
/* rgb */ color: rgb(64, 192, 79);
/* oklch */ color: oklch(71.4% 0.190 145.1);
Tailwind
colors: {
  custom: {
    50: '#85d484',
    500: '#40c04f',
    950: '#000000',
  },
}
SCSS
$custom: #40c04f;
$custom-light: #85d484;
$custom-dark: #000000;
JSON
{
  "hex": "#40c04f",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 127.031,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71357,
    "c": 0.19015,
    "h": 145.1
  },
  "luminance": 0.39354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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