#40C971#40C971

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

Color values

HEX#40C971
RGBrgb(64, 201, 113)
HSLhsl(141, 56%, 52%)
HSVhsv(141, 68%, 79%)
CMYKcmyk(68.2%, 0%, 43.8%, 21.2%)
CIE-LABlab(72.26, -55.96, 33.49)
CIE-LCHlch(72.26, 65.22, 149.10°)
OKLaboklab(74.19% -0.1508 0.0825)
OKLCHoklch(74.19% 0.172 151.3)
XYZxyz(25.9795, 44.0527, 22.7535)
Luminance0.4406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C971 #C94098
analogous
#54C940 #40C971 #40C9B6
triadic
#40C971 #7140C9 #C97140
tetradic
#40C971 #4054C9 #C94098 #C9B640
square
#40C971 #4054C9 #C94098 #C9B640
split-complementary
#40C971 #B640C9 #C94054
monochromatic
#1F6F3C #2D9F56 #40C971 #70D694 #9FE4B8

Accessibility & contrast

On white

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

On black

9.81
#40C971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C971
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C971#FFFFFF#000000##000000
##40C9711.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c971;
/* rgb */ color: rgb(64, 201, 113);
/* oklch */ color: oklch(74.2% 0.172 151.3);
Tailwind
colors: {
  custom: {
    50: '#85da9b',
    500: '#40c971',
    950: '#000000',
  },
}
SCSS
$custom: #40c971;
$custom-light: #85da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c971",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 113
  },
  "hsl": {
    "h": 141.46,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74189,
    "c": 0.17193,
    "h": 151.3
  },
  "luminance": 0.44056
}

Semantic roles & 50–950 ramp

primary
#40C971
secondary
#D094BB
accent
#49A9DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C971

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

Preview Lab → · Contrast checker → · Palette generator →

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