#40C587#40C587

#40C587 is a light, vivid teal. Relative luminance 0.428; OKLCH L 73.6% C 0.147 H 158.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#40C587
RGBrgb(64, 197, 135)
HSLhsl(152, 53%, 51%)
HSVhsv(152, 68%, 77%)
CMYKcmyk(67.5%, 0%, 31.5%, 22.7%)
CIE-LABlab(71.40, -50.27, 20.87)
CIE-LCHlch(71.40, 54.43, 157.46°)
OKLaboklab(73.6% -0.1368 0.0528)
OKLCHoklch(73.6% 0.147 158.9)
XYZxyz(26.4512, 42.7689, 29.7782)
Luminance0.4277 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C587 #C5407E
analogous
#40C544 #40C587 #40C0C5
triadic
#40C587 #8740C5 #C58740
tetradic
#40C587 #4440C5 #C5407E #C0C540
square
#40C587 #4440C5 #C5407E #C0C540
split-complementary
#40C587 #C540C0 #C54440
monochromatic
#206A48 #2F9968 #40C587 #6FD3A4 #9EE2C2

Accessibility & contrast

On white

2.20
#40C587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#40C587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C587
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C587#FFFFFF#000000##000000
##40C5871.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B683
Deuteranopia (green-blind)
#B2AA8B
Tritanopia (blue-blind)
#00C4B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c587;
/* rgb */ color: rgb(64, 197, 135);
/* oklch */ color: oklch(73.6% 0.147 158.9);
Tailwind
colors: {
  custom: {
    50: '#84d7aa',
    500: '#40c587',
    950: '#000000',
  },
}
SCSS
$custom: #40c587;
$custom-light: #84d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40c587",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 135
  },
  "hsl": {
    "h": 152.03,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.736,
    "c": 0.14667,
    "h": 158.9
  },
  "luminance": 0.42772
}

Semantic roles & 50–950 ramp

primary
#40C587
secondary
#CE93AE
accent
#4B8FDD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C1410
muted
#7D837F

Preview Lab

Preview with #40C587

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

Preview Lab → · Contrast checker → · Palette generator →

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