#40C970#40C970

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

Color values

HEX#40C970
RGBrgb(64, 201, 112)
HSLhsl(141, 56%, 52%)
HSVhsv(141, 68%, 79%)
CMYKcmyk(68.2%, 0%, 44.3%, 21.2%)
CIE-LABlab(72.25, -56.13, 33.98)
CIE-LCHlch(72.25, 65.61, 148.81°)
OKLaboklab(74.17% -0.1513 0.0836)
OKLCHoklch(74.17% 0.173 151.1)
XYZxyz(25.9235, 44.0303, 22.4586)
Luminance0.4403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C970 #C94099
analogous
#55C940 #40C970 #40C9B5
triadic
#40C970 #7040C9 #C97040
tetradic
#40C970 #4055C9 #C94099 #C9B540
square
#40C970 #4055C9 #C94099 #C9B540
split-complementary
#40C970 #B540C9 #C94055
monochromatic
#1F6F3B #2D9F55 #40C970 #70D694 #9FE4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C970#FFFFFF#000000##000000
##40C9701.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)
#CAB869
Deuteranopia (green-blind)
#B9AC76
Tritanopia (blue-blind)
#00C6B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c970;
/* rgb */ color: rgb(64, 201, 112);
/* oklch */ color: oklch(74.2% 0.173 151.1);
Tailwind
colors: {
  custom: {
    50: '#85da9a',
    500: '#40c970',
    950: '#000000',
  },
}
SCSS
$custom: #40c970;
$custom-light: #85da9a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c970",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 141.022,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74172,
    "c": 0.17284,
    "h": 151.1
  },
  "luminance": 0.44033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C970

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

Preview Lab → · Contrast checker → · Palette generator →

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