#40C050#40C050

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

Color values

HEX#40C050
RGBrgb(64, 192, 80)
HSLhsl(128, 50%, 50%)
HSVhsv(128, 67%, 75%)
CMYKcmyk(66.7%, 0%, 58.3%, 24.7%)
CIE-LABlab(69.02, -57.55, 45.62)
CIE-LCHlch(69.02, 73.44, 141.60°)
OKLaboklab(71.37% -0.1556 0.1079)
OKLCHoklch(71.37% 0.189 145.3)
XYZxyz(22.4105, 39.3661, 14.0052)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C050 #C040B0
analogous
#70C040 #40C050 #40C090
triadic
#40C050 #5040C0 #C05040
tetradic
#40C050 #4070C0 #C040B0 #C09040
square
#40C050 #4070C0 #C040B0 #C09040
split-complementary
#40C050 #9040C0 #C04070
monochromatic
#21642A #30923D #40C050 #6ECF7A #9CDEA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C050#FFFFFF#000000##000000
##40C0501.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)
#C3AF45
Deuteranopia (green-blind)
#B4A459
Tritanopia (blue-blind)
#19BBA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c050;
/* rgb */ color: rgb(64, 192, 80);
/* oklch */ color: oklch(71.4% 0.189 145.3);
Tailwind
colors: {
  custom: {
    50: '#85d484',
    500: '#40c050',
    950: '#000000',
  },
}
SCSS
$custom: #40c050;
$custom-light: #85d484;
$custom-dark: #000000;
JSON
{
  "hex": "#40c050",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 127.5,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71369,
    "c": 0.18935,
    "h": 145.3
  },
  "luminance": 0.39368
}

Semantic roles & 50–950 ramp

primary
#40C050
secondary
#CB91C3
accent
#4EC8DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C050

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

Preview Lab → · Contrast checker → · Palette generator →

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