#40AF78#40AF78

#40AF78 is a light, vivid teal. Relative luminance 0.331; OKLCH L 67.6% C 0.130 H 158.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#40AF78
RGBrgb(64, 175, 120)
HSLhsl(150, 46%, 47%)
HSVhsv(150, 63%, 69%)
CMYKcmyk(63.4%, 0%, 31.4%, 31.4%)
CIE-LABlab(64.24, -44.42, 19.14)
CIE-LCHlch(64.24, 48.37, 156.68°)
OKLaboklab(67.63% -0.121 0.0485)
OKLCHoklch(67.63% 0.13 158.2)
XYZxyz(20.8326, 33.1039, 23.0575)
Luminance0.3311 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF78 #AF4077
analogous
#40AF40 #40AF78 #40AFAF
triadic
#40AF78 #7840AF #AF7840
tetradic
#40AF78 #4040AF #AF4077 #AFAF40
square
#40AF78 #4040AF #AF4077 #AFAF40
split-complementary
#40AF78 #AF40AF #AF4040
monochromatic
#1F553B #308259 #40AF78 #65C797 #92D7B5

Accessibility & contrast

On white

2.76
#40AF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#40AF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF78
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF78#FFFFFF#000000##000000
##40AF781.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA275
Deuteranopia (green-blind)
#9F977B
Tritanopia (blue-blind)
#00AEA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af78;
/* rgb */ color: rgb(64, 175, 120);
/* oklch */ color: oklch(67.6% 0.130 158.2);
Tailwind
colors: {
  custom: {
    50: '#81c89f',
    500: '#40af78',
    950: '#000000',
  },
}
SCSS
$custom: #40af78;
$custom-light: #81c89f;
$custom-dark: #000000;
JSON
{
  "hex": "#40af78",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 120
  },
  "hsl": {
    "h": 150.27,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67633,
    "c": 0.13035,
    "h": 158.2
  },
  "luminance": 0.33106
}

Semantic roles & 50–950 ramp

primary
#40AF78
secondary
#C388A5
accent
#5293D6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF78

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

Preview Lab → · Contrast checker → · Palette generator →

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