#40C047#40C047

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

Color values

HEX#40C047
RGBrgb(64, 192, 71)
HSLhsl(123, 50%, 50%)
HSVhsv(123, 67%, 75%)
CMYKcmyk(66.7%, 0%, 63%, 24.7%)
CIE-LABlab(68.93, -58.60, 49.56)
CIE-LCHlch(68.93, 76.75, 139.78°)
OKLaboklab(71.27% -0.1588 0.1156)
OKLCHoklch(71.27% 0.196 144)
XYZxyz(22.1000, 39.2419, 12.3698)
Luminance0.3924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C047 #C040B9
analogous
#79C040 #40C047 #40C087
triadic
#40C047 #4740C0 #C04740
tetradic
#40C047 #4079C0 #C040B9 #C08740
square
#40C047 #4079C0 #C040B9 #C08740
split-complementary
#40C047 #8740C0 #C04079
monochromatic
#216425 #309236 #40C047 #6ECF73 #9CDEA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C047#FFFFFF#000000##000000
##40C0471.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)
#C4AF39
Deuteranopia (green-blind)
#B4A451
Tritanopia (blue-blind)
#1EBBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c047;
/* rgb */ color: rgb(64, 192, 71);
/* oklch */ color: oklch(71.3% 0.196 144.0);
Tailwind
colors: {
  custom: {
    50: '#85d47f',
    500: '#40c047',
    950: '#000000',
  },
}
SCSS
$custom: #40c047;
$custom-light: #85d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c047",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 123.281,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71266,
    "c": 0.1964,
    "h": 144
  },
  "luminance": 0.39244
}

Semantic roles & 50–950 ramp

primary
#40C047
secondary
#CB91C7
accent
#4ED2DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C047

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

Preview Lab → · Contrast checker → · Palette generator →

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