#40B781#40B781

#40B781 is a light, vivid teal. Relative luminance 0.365; OKLCH L 69.9% C 0.133 H 160.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#40B781
RGBrgb(64, 183, 129)
HSLhsl(153, 48%, 48%)
HSVhsv(153, 65%, 72%)
CMYKcmyk(65%, 0%, 29.5%, 28.2%)
CIE-LABlab(66.93, -45.84, 17.95)
CIE-LCHlch(66.93, 49.23, 158.62°)
OKLaboklab(69.89% -0.1252 0.0456)
OKLCHoklch(69.89% 0.133 160)
XYZxyz(23.0081, 36.5395, 26.6049)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B781 #B74076
analogous
#40B745 #40B781 #40B1B7
triadic
#40B781 #8140B7 #B78140
tetradic
#40B781 #4540B7 #B74076 #B1B740
square
#40B781 #4540B7 #B74076 #B1B740
split-complementary
#40B781 #B740B1 #B74540
monochromatic
#205C41 #308A61 #40B781 #69CB9F #97DBBC

Accessibility & contrast

On white

2.53
#40B781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#40B781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B781
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B781#FFFFFF#000000##000000
##40B7811.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AA7E
Deuteranopia (green-blind)
#A59E84
Tritanopia (blue-blind)
#00B6A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b781;
/* rgb */ color: rgb(64, 183, 129);
/* oklch */ color: oklch(69.9% 0.133 160.0);
Tailwind
colors: {
  custom: {
    50: '#82cda5',
    500: '#40b781',
    950: '#000000',
  },
}
SCSS
$custom: #40b781;
$custom-light: #82cda5;
$custom-dark: #000000;
JSON
{
  "hex": "#40b781",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 129
  },
  "hsl": {
    "h": 152.773,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69894,
    "c": 0.13324,
    "h": 160
  },
  "luminance": 0.36542
}

Semantic roles & 50–950 ramp

primary
#40B781
secondary
#C68DA7
accent
#508ED8
background
#F8FCFA
surface
#F0F9F4
border
#CBD2CE
text
#0C140F
muted
#7D827F

Preview Lab

Preview with #40B781

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

Preview Lab → · Contrast checker → · Palette generator →

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