#40C372#40C372

#40C372 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.7% C 0.163 H 152.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#40C372
RGBrgb(64, 195, 114)
HSLhsl(143, 52%, 51%)
HSVhsv(143, 67%, 76%)
CMYKcmyk(67.2%, 0%, 41.5%, 23.5%)
CIE-LABlab(70.41, -53.53, 30.57)
CIE-LCHlch(70.41, 61.64, 150.27°)
OKLaboklab(72.67% -0.1444 0.0758)
OKLCHoklch(72.67% 0.163 152.3)
XYZxyz(24.6647, 41.3325, 22.5944)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C372 #C34091
analogous
#4FC340 #40C372 #40C3B3
triadic
#40C372 #7240C3 #C37240
tetradic
#40C372 #404FC3 #C34091 #C3B340
square
#40C372 #404FC3 #C34091 #C3B340
split-complementary
#40C372 #B340C3 #C3404F
monochromatic
#21683C #2F9757 #40C372 #6FD294 #9DE0B7

Accessibility & contrast

On white

2.27
#40C372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#40C372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C372
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C372#FFFFFF#000000##000000
##40C3721.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B36C
Deuteranopia (green-blind)
#B3A877
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c372;
/* rgb */ color: rgb(64, 195, 114);
/* oklch */ color: oklch(72.7% 0.163 152.3);
Tailwind
colors: {
  custom: {
    50: '#84d69b',
    500: '#40c372',
    950: '#000000',
  },
}
SCSS
$custom: #40c372;
$custom-light: #84d69b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c372",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 114
  },
  "hsl": {
    "h": 142.901,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72665,
    "c": 0.1631,
    "h": 152.3
  },
  "luminance": 0.41335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C372

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

Preview Lab → · Contrast checker → · Palette generator →

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