#40D58B#40D58B

#40D58B is a light, vivid teal. Relative luminance 0.505; OKLCH L 77.7% C 0.164 H 156.9°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#40D58B
RGBrgb(64, 213, 139)
HSLhsl(150, 64%, 54%)
HSVhsv(150, 70%, 84%)
CMYKcmyk(70%, 0%, 34.7%, 16.5%)
CIE-LABlab(76.40, -55.71, 25.56)
CIE-LCHlch(76.40, 61.29, 155.36°)
OKLaboklab(77.74% -0.1509 0.0643)
OKLCHoklch(77.74% 0.164 156.9)
XYZxyz(30.5659, 50.5391, 32.5652)
Luminance0.5054 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D58B #D5408A
analogous
#40D541 #40D58B #40D5D5
triadic
#40D58B #8B40D5 #D58B40
tetradic
#40D58B #4140D5 #D5408A #D5D540
square
#40D58B #4140D5 #D5408A #D5D540
split-complementary
#40D58B #D540D5 #D54140
monochromatic
#1C7F4E #27B16C #40D58B #72E0A9 #A4EBC8

Accessibility & contrast

On white

1.89
#40D58B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#40D58B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D58B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D58B#FFFFFF#000000##000000
##40D58B1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C486
Deuteranopia (green-blind)
#C1B790
Tritanopia (blue-blind)
#00D3C2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d58b;
/* rgb */ color: rgb(64, 213, 139);
/* oklch */ color: oklch(77.7% 0.164 156.9);
Tailwind
colors: {
  custom: {
    50: '#87e3ad',
    500: '#40d58b',
    950: '#000000',
  },
}
SCSS
$custom: #40d58b;
$custom-light: #87e3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40d58b",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 139
  },
  "hsl": {
    "h": 150.201,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.16407,
    "h": 156.9
  },
  "luminance": 0.50543
}

Semantic roles & 50–950 ramp

primary
#40D58B
secondary
#86335C
accent
#4193E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D58B

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

Preview Lab → · Contrast checker → · Palette generator →

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