#40A877#40A877

#40A877 is a light, vivid teal. Relative luminance 0.304; OKLCH L 65.8% C 0.122 H 159.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#40A877
RGBrgb(64, 168, 119)
HSLhsl(152, 45%, 45%)
HSVhsv(152, 62%, 66%)
CMYKcmyk(61.9%, 0%, 29.2%, 34.1%)
CIE-LABlab(62.02, -41.67, 16.63)
CIE-LCHlch(62.02, 44.87, 158.24°)
OKLaboklab(65.8% -0.1139 0.0423)
OKLCHoklch(65.8% 0.122 159.6)
XYZxyz(19.4450, 30.4252, 22.2971)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A877 #A84071
analogous
#40A843 #40A877 #40A5A8
triadic
#40A877 #7740A8 #A87740
tetradic
#40A877 #4340A8 #A84071 #A5A840
square
#40A877 #4340A8 #A84071 #A5A840
split-complementary
#40A877 #A840A5 #A84340
monochromatic
#1E4F38 #2F7C58 #40A877 #62C395 #8ED4B3

Accessibility & contrast

On white

2.96
#40A877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#40A877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A877
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A877#FFFFFF#000000##000000
##40A8771.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69C74
Deuteranopia (green-blind)
#98927A
Tritanopia (blue-blind)
#04A79B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a877;
/* rgb */ color: rgb(64, 168, 119);
/* oklch */ color: oklch(65.8% 0.122 159.6);
Tailwind
colors: {
  custom: {
    50: '#7fc29e',
    500: '#40a877',
    950: '#000000',
  },
}
SCSS
$custom: #40a877;
$custom-light: #7fc29e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a877",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 119
  },
  "hsl": {
    "h": 151.731,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65803,
    "c": 0.12153,
    "h": 159.6
  },
  "luminance": 0.30427
}

Semantic roles & 50–950 ramp

primary
#40A877
secondary
#BF85A0
accent
#5390D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A877

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

Preview Lab → · Contrast checker → · Palette generator →

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