#40C370#40C370

#40C370 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.6% C 0.165 H 151.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#40C370
RGBrgb(64, 195, 112)
HSLhsl(142, 52%, 51%)
HSVhsv(142, 67%, 76%)
CMYKcmyk(67.2%, 0%, 42.6%, 23.5%)
CIE-LABlab(70.38, -53.88, 31.56)
CIE-LCHlch(70.38, 62.44, 149.64°)
OKLaboklab(72.63% -0.1453 0.078)
OKLCHoklch(72.63% 0.165 151.8)
XYZxyz(24.5521, 41.2874, 22.0014)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C370 #C34093
analogous
#51C340 #40C370 #40C3B1
triadic
#40C370 #7040C3 #C37040
tetradic
#40C370 #4051C3 #C34093 #C3B140
square
#40C370 #4051C3 #C34093 #C3B140
split-complementary
#40C370 #B140C3 #C34051
monochromatic
#21683B #2F9755 #40C370 #6FD293 #9DE0B6

Accessibility & contrast

On white

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

On black

9.26
#40C370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C370
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C370#FFFFFF#000000##000000
##40C3701.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c370;
/* rgb */ color: rgb(64, 195, 112);
/* oklch */ color: oklch(72.6% 0.165 151.8);
Tailwind
colors: {
  custom: {
    50: '#84d69a',
    500: '#40c370',
    950: '#000000',
  },
}
SCSS
$custom: #40c370;
$custom-light: #84d69a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c370",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 112
  },
  "hsl": {
    "h": 141.985,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.16495,
    "h": 151.8
  },
  "luminance": 0.4129
}

Semantic roles & 50–950 ramp

primary
#40C370
secondary
#CC92B7
accent
#4CA7DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C370

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

Preview Lab → · Contrast checker → · Palette generator →

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