#40C972#40C972

#40C972 is a light, vivid green. Relative luminance 0.441; OKLCH L 74.2% C 0.171 H 151.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#40C972
RGBrgb(64, 201, 114)
HSLhsl(142, 56%, 52%)
HSVhsv(142, 68%, 79%)
CMYKcmyk(68.2%, 0%, 43.3%, 21.2%)
CIE-LABlab(72.28, -55.79, 33.00)
CIE-LCHlch(72.28, 64.82, 149.39°)
OKLaboklab(74.21% -0.1504 0.0814)
OKLCHoklch(74.21% 0.171 151.6)
XYZxyz(26.0361, 44.0753, 23.0516)
Luminance0.4408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C972 #C94097
analogous
#53C940 #40C972 #40C9B7
triadic
#40C972 #7240C9 #C97240
tetradic
#40C972 #4053C9 #C94097 #C9B740
square
#40C972 #4053C9 #C94097 #C9B740
split-complementary
#40C972 #B740C9 #C94053
monochromatic
#1F6F3D #2D9F57 #40C972 #70D695 #9FE4B8

Accessibility & contrast

On white

2.14
#40C972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#40C972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C972
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C972#FFFFFF#000000##000000
##40C9721.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB86C
Deuteranopia (green-blind)
#B9AC78
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c972;
/* rgb */ color: rgb(64, 201, 114);
/* oklch */ color: oklch(74.2% 0.171 151.6);
Tailwind
colors: {
  custom: {
    50: '#85da9b',
    500: '#40c972',
    950: '#000000',
  },
}
SCSS
$custom: #40c972;
$custom-light: #85da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c972",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 114
  },
  "hsl": {
    "h": 141.898,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74207,
    "c": 0.17102,
    "h": 151.6
  },
  "luminance": 0.44078
}

Semantic roles & 50–950 ramp

primary
#40C972
secondary
#D094BA
accent
#49A8DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C972

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

Preview Lab → · Contrast checker → · Palette generator →

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