#40A970#40A970

#40A970 is a light, vivid green. Relative luminance 0.306; OKLCH L 65.9% C 0.129 H 156.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#40A970
RGBrgb(64, 169, 112)
HSLhsl(147, 45%, 46%)
HSVhsv(147, 62%, 66%)
CMYKcmyk(62.1%, 0%, 33.7%, 33.7%)
CIE-LABlab(62.20, -43.55, 20.71)
CIE-LCHlch(62.20, 48.22, 154.57°)
OKLaboklab(65.9% -0.1183 0.0522)
OKLCHoklch(65.9% 0.129 156.2)
XYZxyz(19.2253, 30.6338, 20.2258)
Luminance0.3064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A970 #A94079
analogous
#44A940 #40A970 #40A9A4
triadic
#40A970 #7040A9 #A97040
tetradic
#40A970 #4044A9 #A94079 #A9A440
square
#40A970 #4044A9 #A94079 #A9A440
split-complementary
#40A970 #A440A9 #A94044
monochromatic
#1E5035 #2F7D53 #40A970 #62C48F #8FD5AF

Accessibility & contrast

On white

2.95
#40A970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#40A970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A970
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A970#FFFFFF#000000##000000
##40A9701.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89C6C
Deuteranopia (green-blind)
#9A9274
Tritanopia (blue-blind)
#0FA89A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a970;
/* rgb */ color: rgb(64, 169, 112);
/* oklch */ color: oklch(65.9% 0.129 156.2);
Tailwind
colors: {
  custom: {
    50: '#7fc399',
    500: '#40a970',
    950: '#000000',
  },
}
SCSS
$custom: #40a970;
$custom-light: #7fc399;
$custom-dark: #000000;
JSON
{
  "hex": "#40a970",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 112
  },
  "hsl": {
    "h": 147.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65903,
    "c": 0.12935,
    "h": 156.2
  },
  "luminance": 0.30636
}

Semantic roles & 50–950 ramp

primary
#40A970
secondary
#C085A5
accent
#5399D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40A970

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

Preview Lab → · Contrast checker → · Palette generator →

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