#40C049#40C049

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

Color values

HEX#40C049
RGBrgb(64, 192, 73)
HSLhsl(124, 50%, 50%)
HSVhsv(124, 67%, 75%)
CMYKcmyk(66.7%, 0%, 62%, 24.7%)
CIE-LABlab(68.94, -58.38, 48.70)
CIE-LCHlch(68.94, 76.03, 140.16°)
OKLaboklab(71.29% -0.1581 0.1139)
OKLCHoklch(71.29% 0.195 144.2)
XYZxyz(22.1652, 39.2680, 12.7134)
Luminance0.3927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C049 #C040B7
analogous
#77C040 #40C049 #40C089
triadic
#40C049 #4940C0 #C04940
tetradic
#40C049 #4077C0 #C040B7 #C08940
square
#40C049 #4077C0 #C040B7 #C08940
split-complementary
#40C049 #8940C0 #C04077
monochromatic
#216426 #309237 #40C049 #6ECF75 #9CDEA1

Accessibility & contrast

On white

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

On black

8.85
#40C049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C049
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C049#FFFFFF#000000##000000
##40C0491.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3C
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#1DBBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c049;
/* rgb */ color: rgb(64, 192, 73);
/* oklch */ color: oklch(71.3% 0.195 144.2);
Tailwind
colors: {
  custom: {
    50: '#85d480',
    500: '#40c049',
    950: '#000000',
  },
}
SCSS
$custom: #40c049;
$custom-light: #85d480;
$custom-dark: #000000;
JSON
{
  "hex": "#40c049",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 124.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.19488,
    "h": 144.2
  },
  "luminance": 0.3927
}

Semantic roles & 50–950 ramp

primary
#40C049
secondary
#CB91C6
accent
#4ED0DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C049

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

Preview Lab → · Contrast checker → · Palette generator →

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