#40B97A#40B97A

#40B97A is a light, vivid green. Relative luminance 0.372; OKLCH L 70.3% C 0.142 H 156.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#40B97A
RGBrgb(64, 185, 122)
HSLhsl(149, 49%, 49%)
HSVhsv(149, 65%, 73%)
CMYKcmyk(65.4%, 0%, 34.1%, 27.5%)
CIE-LABlab(67.42, -48.11, 22.39)
CIE-LCHlch(67.42, 53.06, 155.05°)
OKLaboklab(70.25% -0.1306 0.0564)
OKLCHoklch(70.25% 0.142 156.6)
XYZxyz(22.9741, 37.1906, 24.3763)
Luminance0.3719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B97A #B9407F
analogous
#43B940 #40B97A #40B9B7
triadic
#40B97A #7A40B9 #B97A40
tetradic
#40B97A #4043B9 #B9407F #B9B740
square
#40B97A #4043B9 #B9407F #B9B740
split-complementary
#40B97A #B740B9 #B94043
monochromatic
#215E3E #308C5C #40B97A #6BCC99 #98DBB8

Accessibility & contrast

On white

2.49
#40B97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#40B97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B97A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B97A#FFFFFF#000000##000000
##40B97A1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AB76
Deuteranopia (green-blind)
#A8A07E
Tritanopia (blue-blind)
#00B7A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b97a;
/* rgb */ color: rgb(64, 185, 122);
/* oklch */ color: oklch(70.3% 0.142 156.6);
Tailwind
colors: {
  custom: {
    50: '#82cfa1',
    500: '#40b97a',
    950: '#000000',
  },
}
SCSS
$custom: #40b97a;
$custom-light: #82cfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#40b97a",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 122
  },
  "hsl": {
    "h": 148.76,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.14224,
    "h": 156.6
  },
  "luminance": 0.37193
}

Semantic roles & 50–950 ramp

primary
#40B97A
secondary
#C78EAC
accent
#5097D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140F
muted
#7D827E

Preview Lab

Preview with #40B97A

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

Preview Lab → · Contrast checker → · Palette generator →

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