#40AB7D#40AB7D

#40AB7D is a light, vivid teal. Relative luminance 0.317; OKLCH L 66.7% C 0.120 H 161.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#40AB7D
RGBrgb(64, 171, 125)
HSLhsl(154, 46%, 46%)
HSVhsv(154, 63%, 67%)
CMYKcmyk(62.6%, 0%, 26.9%, 32.9%)
CIE-LABlab(63.09, -41.65, 14.81)
CIE-LCHlch(63.09, 44.21, 160.42°)
OKLaboklab(66.72% -0.1143 0.0378)
OKLCHoklch(66.72% 0.12 161.7)
XYZxyz(20.3770, 31.6944, 24.4418)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB7D #AB406E
analogous
#40AB47 #40AB7D #40A3AB
triadic
#40AB7D #7D40AB #AB7D40
tetradic
#40AB7D #4740AB #AB406E #A3AB40
square
#40AB7D #4740AB #AB406E #A3AB40
split-complementary
#40AB7D #AB40A3 #AB4740
monochromatic
#1F523C #2F7E5C #40AB7D #63C59B #90D5B8

Accessibility & contrast

On white

2.86
#40AB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#40AB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB7D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB7D#FFFFFF#000000##000000
##40AB7D1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99F7A
Deuteranopia (green-blind)
#9A9480
Tritanopia (blue-blind)
#00AB9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ab7d;
/* rgb */ color: rgb(64, 171, 125);
/* oklch */ color: oklch(66.7% 0.120 161.7);
Tailwind
colors: {
  custom: {
    50: '#80c5a2',
    500: '#40ab7d',
    950: '#000000',
  },
}
SCSS
$custom: #40ab7d;
$custom-light: #80c5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab7d",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 125
  },
  "hsl": {
    "h": 154.206,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.1204,
    "h": 161.7
  },
  "luminance": 0.31696
}

Semantic roles & 50–950 ramp

primary
#40AB7D
secondary
#C1869F
accent
#538BD5
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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