#40A381#40A381

#40A381 is a light, moderate teal. Relative luminance 0.289; OKLCH L 64.8% C 0.106 H 167.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40A381
RGBrgb(64, 163, 129)
HSLhsl(159, 44%, 45%)
HSVhsv(159, 61%, 64%)
CMYKcmyk(60.7%, 0%, 20.9%, 36.1%)
CIE-LABlab(60.66, -37.22, 9.18)
CIE-LCHlch(60.66, 38.33, 166.14°)
OKLaboklab(64.77% -0.1036 0.0235)
OKLCHoklch(64.77% 0.106 167.2)
XYZxyz(19.1720, 28.8674, 25.3262)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A381 #A34062
analogous
#40A350 #40A381 #4094A3
triadic
#40A381 #8140A3 #A38140
tetradic
#40A381 #5040A3 #A34062 #94A340
square
#40A381 #5040A3 #A34062 #94A340
split-complementary
#40A381 #A34094 #A35040
monochromatic
#1D4B3B #2F775E #40A381 #60C09F #8CD2BA

Accessibility & contrast

On white

3.10
#40A381 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#40A381 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A381
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A381#FFFFFF#000000##000000
##40A3811.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F987F
Deuteranopia (green-blind)
#918E83
Tritanopia (blue-blind)
#00A499
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a381;
/* rgb */ color: rgb(64, 163, 129);
/* oklch */ color: oklch(64.8% 0.106 167.2);
Tailwind
colors: {
  custom: {
    50: '#7fbfa5',
    500: '#40a381',
    950: '#000000',
  },
}
SCSS
$custom: #40a381;
$custom-light: #7fbfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a381",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 129
  },
  "hsl": {
    "h": 159.394,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64768,
    "c": 0.10627,
    "h": 167.2
  },
  "luminance": 0.28869
}

Semantic roles & 50–950 ramp

primary
#40A381
secondary
#BD8296
accent
#5480D3
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A381

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

Preview Lab → · Contrast checker → · Palette generator →

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