#40AF7F#40AF7F

#40AF7F is a light, vivid teal. Relative luminance 0.333; OKLCH L 67.8% C 0.124 H 161.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40AF7F
RGBrgb(64, 175, 127)
HSLhsl(154, 46%, 47%)
HSVhsv(154, 63%, 69%)
CMYKcmyk(63.4%, 0%, 27.4%, 31.4%)
CIE-LABlab(64.39, -42.92, 15.52)
CIE-LCHlch(64.39, 45.64, 160.12°)
OKLaboklab(67.8% -0.1177 0.0395)
OKLCHoklch(67.8% 0.124 161.4)
XYZxyz(21.2730, 33.2800, 25.3771)
Luminance0.3328 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF7F #AF4070
analogous
#40AF47 #40AF7F #40A8AF
triadic
#40AF7F #7F40AF #AF7F40
tetradic
#40AF7F #4740AF #AF4070 #A8AF40
square
#40AF7F #4740AF #AF4070 #A8AF40
split-complementary
#40AF7F #AF40A8 #AF4740
monochromatic
#1F553E #30825E #40AF7F #65C79D #92D7B9

Accessibility & contrast

On white

2.74
#40AF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#40AF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF7F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF7F#FFFFFF#000000##000000
##40AF7F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37C
Deuteranopia (green-blind)
#9D9882
Tritanopia (blue-blind)
#00AFA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af7f;
/* rgb */ color: rgb(64, 175, 127);
/* oklch */ color: oklch(67.8% 0.124 161.4);
Tailwind
colors: {
  custom: {
    50: '#81c8a4',
    500: '#40af7f',
    950: '#000000',
  },
}
SCSS
$custom: #40af7f;
$custom-light: #81c8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40af7f",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 127
  },
  "hsl": {
    "h": 154.054,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67797,
    "c": 0.12414,
    "h": 161.4
  },
  "luminance": 0.33282
}

Semantic roles & 50–950 ramp

primary
#40AF7F
secondary
#C388A1
accent
#528BD6
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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