#40C072#40C072

#40C072 is a light, vivid green. Relative luminance 0.400; OKLCH L 71.9% C 0.159 H 152.7°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#40C072
RGBrgb(64, 192, 114)
HSLhsl(143, 50%, 50%)
HSVhsv(143, 67%, 75%)
CMYKcmyk(66.7%, 0%, 40.6%, 24.7%)
CIE-LABlab(69.47, -52.38, 29.35)
CIE-LCHlch(69.47, 60.04, 150.74°)
OKLaboklab(71.89% -0.1414 0.0729)
OKLCHoklch(71.89% 0.159 152.7)
XYZxyz(23.9992, 40.0016, 22.3726)
Luminance0.4000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C072 #C0408E
analogous
#4EC040 #40C072 #40C0B2
triadic
#40C072 #7240C0 #C07240
tetradic
#40C072 #404EC0 #C0408E #C0B240
square
#40C072 #404EC0 #C0408E #C0B240
split-complementary
#40C072 #B240C0 #C0404E
monochromatic
#21643B #309257 #40C072 #6ECF94 #9CDEB6

Accessibility & contrast

On white

2.33
#40C072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#40C072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C072
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C072#FFFFFF#000000##000000
##40C0721.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B16D
Deuteranopia (green-blind)
#B0A577
Tritanopia (blue-blind)
#00BDAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c072;
/* rgb */ color: rgb(64, 192, 114);
/* oklch */ color: oklch(71.9% 0.159 152.7);
Tailwind
colors: {
  custom: {
    50: '#84d49b',
    500: '#40c072',
    950: '#000000',
  },
}
SCSS
$custom: #40c072;
$custom-light: #84d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c072",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 143.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71893,
    "c": 0.15909,
    "h": 152.7
  },
  "luminance": 0.40004
}

Semantic roles & 50–950 ramp

primary
#40C072
secondary
#CB91B4
accent
#4EA3DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C072

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

Preview Lab → · Contrast checker → · Palette generator →

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