#40C472#40C472

#40C472 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.9% C 0.164 H 152.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#40C472
RGBrgb(64, 196, 114)
HSLhsl(143, 53%, 51%)
HSVhsv(143, 67%, 77%)
CMYKcmyk(67.3%, 0%, 41.8%, 23.1%)
CIE-LABlab(70.72, -53.91, 30.98)
CIE-LCHlch(70.72, 62.18, 150.11°)
OKLaboklab(72.92% -0.1454 0.0767)
OKLCHoklch(72.92% 0.164 152.2)
XYZxyz(24.8895, 41.7821, 22.6694)
Luminance0.4178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C472 #C44092
analogous
#50C440 #40C472 #40C4B4
triadic
#40C472 #7240C4 #C47240
tetradic
#40C472 #4050C4 #C44092 #C4B440
square
#40C472 #4050C4 #C44092 #C4B440
split-complementary
#40C472 #B440C4 #C44050
monochromatic
#20693C #2F9857 #40C472 #6FD295 #9EE1B7

Accessibility & contrast

On white

2.24
#40C472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#40C472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C472
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C472#FFFFFF#000000##000000
##40C4721.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46C
Deuteranopia (green-blind)
#B4A877
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c472;
/* rgb */ color: rgb(64, 196, 114);
/* oklch */ color: oklch(72.9% 0.164 152.2);
Tailwind
colors: {
  custom: {
    50: '#84d79b',
    500: '#40c472',
    950: '#000000',
  },
}
SCSS
$custom: #40c472;
$custom-light: #84d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c472",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 142.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.16442,
    "h": 152.2
  },
  "luminance": 0.41785
}

Semantic roles & 50–950 ramp

primary
#40C472
secondary
#CD93B7
accent
#4CA5DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C472

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

Preview Lab → · Contrast checker → · Palette generator →

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