#40AC7E#40AC7E

#40AC7E is a light, vivid teal. Relative luminance 0.321; OKLCH L 67.0% C 0.121 H 161.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#40AC7E
RGBrgb(64, 172, 126)
HSLhsl(154, 46%, 46%)
HSVhsv(154, 63%, 67%)
CMYKcmyk(62.8%, 0%, 26.7%, 32.5%)
CIE-LABlab(63.42, -41.86, 14.73)
CIE-LCHlch(63.42, 44.37, 160.62°)
OKLaboklab(67% -0.1149 0.0376)
OKLCHoklch(67% 0.121 161.9)
XYZxyz(20.6308, 32.0993, 24.8431)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC7E #AC406E
analogous
#40AC48 #40AC7E #40A4AC
triadic
#40AC7E #7E40AC #AC7E40
tetradic
#40AC7E #4840AC #AC406E #A4AC40
square
#40AC7E #4840AC #AC406E #A4AC40
split-complementary
#40AC7E #AC40A4 #AC4840
monochromatic
#1F533D #2F7F5D #40AC7E #64C59C #91D6B8

Accessibility & contrast

On white

2.83
#40AC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#40AC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC7E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC7E#FFFFFF#000000##000000
##40AC7E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07B
Deuteranopia (green-blind)
#9B9581
Tritanopia (blue-blind)
#00AC9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40ac7e;
/* rgb */ color: rgb(64, 172, 126);
/* oklch */ color: oklch(67.0% 0.121 161.9);
Tailwind
colors: {
  custom: {
    50: '#80c5a3',
    500: '#40ac7e',
    950: '#000000',
  },
}
SCSS
$custom: #40ac7e;
$custom-light: #80c5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac7e",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 126
  },
  "hsl": {
    "h": 154.444,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67002,
    "c": 0.1209,
    "h": 161.9
  },
  "luminance": 0.32101
}

Semantic roles & 50–950 ramp

primary
#40AC7E
secondary
#C187A0
accent
#528AD5
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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