#40A882#40A882

#40A882 is a light, moderate teal. Relative luminance 0.307; OKLCH L 66.1% C 0.112 H 165.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#40A882
RGBrgb(64, 168, 130)
HSLhsl(158, 45%, 45%)
HSVhsv(158, 62%, 66%)
CMYKcmyk(61.9%, 0%, 22.6%, 34.1%)
CIE-LABlab(62.26, -39.21, 10.88)
CIE-LCHlch(62.26, 40.69, 164.49°)
OKLaboklab(66.08% -0.1087 0.0279)
OKLCHoklch(66.08% 0.112 165.6)
XYZxyz(20.1442, 30.7049, 25.9798)
Luminance0.3071 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A882 #A84066
analogous
#40A84E #40A882 #409AA8
triadic
#40A882 #8240A8 #A88240
tetradic
#40A882 #4E40A8 #A84066 #9AA840
square
#40A882 #4E40A8 #A84066 #9AA840
split-complementary
#40A882 #A8409A #A84E40
monochromatic
#1E4F3D #2F7C60 #40A882 #62C3A0 #8ED4BB

Accessibility & contrast

On white

2.94
#40A882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#40A882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A882
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A882#FFFFFF#000000##000000
##40A8821.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59D80
Deuteranopia (green-blind)
#969284
Tritanopia (blue-blind)
#00A89D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a882;
/* rgb */ color: rgb(64, 168, 130);
/* oklch */ color: oklch(66.1% 0.112 165.6);
Tailwind
colors: {
  custom: {
    50: '#80c2a6',
    500: '#40a882',
    950: '#000000',
  },
}
SCSS
$custom: #40a882;
$custom-light: #80c2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40a882",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 130
  },
  "hsl": {
    "h": 158.077,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66077,
    "c": 0.11217,
    "h": 165.6
  },
  "luminance": 0.30707
}

Semantic roles & 50–950 ramp

primary
#40A882
secondary
#BF859A
accent
#5382D5
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A882

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

Preview Lab → · Contrast checker → · Palette generator →

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