#40B87C#40B87C

#40B87C is a light, vivid teal. Relative luminance 0.368; OKLCH L 70.0% C 0.139 H 157.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40B87C
RGBrgb(64, 184, 124)
HSLhsl(150, 48%, 49%)
HSVhsv(150, 65%, 72%)
CMYKcmyk(65.2%, 0%, 32.6%, 27.8%)
CIE-LABlab(67.14, -47.30, 20.94)
CIE-LCHlch(67.14, 51.73, 156.12°)
OKLaboklab(70.04% -0.1286 0.0529)
OKLCHoklch(70.04% 0.139 157.6)
XYZxyz(22.8908, 36.8238, 24.9662)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B87C #B8407C
analogous
#40B840 #40B87C #40B8B8
triadic
#40B87C #7C40B8 #B87C40
tetradic
#40B87C #4040B8 #B8407C #B8B840
square
#40B87C #4040B8 #B8407C #B8B840
split-complementary
#40B87C #B840B8 #B84040
monochromatic
#205D3F #308B5D #40B87C #6ACB9B #97DBB9

Accessibility & contrast

On white

2.51
#40B87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#40B87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B87C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B87C#FFFFFF#000000##000000
##40B87C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA78
Deuteranopia (green-blind)
#A79F80
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b87c;
/* rgb */ color: rgb(64, 184, 124);
/* oklch */ color: oklch(70.0% 0.139 157.6);
Tailwind
colors: {
  custom: {
    50: '#82cea2',
    500: '#40b87c',
    950: '#000000',
  },
}
SCSS
$custom: #40b87c;
$custom-light: #82cea2;
$custom-dark: #000000;
JSON
{
  "hex": "#40b87c",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 124
  },
  "hsl": {
    "h": 150,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70038,
    "c": 0.13906,
    "h": 157.6
  },
  "luminance": 0.36826
}

Semantic roles & 50–950 ramp

primary
#40B87C
secondary
#C78DAA
accent
#5094D8
background
#F8FCFA
surface
#F0F9F3
border
#CBD2CD
text
#0C140F
muted
#7D827F

Preview Lab

Preview with #40B87C

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

Preview Lab → · Contrast checker → · Palette generator →

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