#40A279#40A279

#40A279 is a light, moderate teal. Relative luminance 0.283; OKLCH L 64.3% C 0.111 H 162.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#40A279
RGBrgb(64, 162, 121)
HSLhsl(155, 43%, 44%)
HSVhsv(155, 60%, 64%)
CMYKcmyk(60.5%, 0%, 25.3%, 36.5%)
CIE-LABlab(60.17, -38.62, 12.95)
CIE-LCHlch(60.17, 40.74, 161.47°)
OKLaboklab(64.3% -0.1064 0.0331)
OKLCHoklch(64.3% 0.111 162.7)
XYZxyz(18.4841, 28.3093, 22.5756)
Luminance0.2831 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A279 #A24069
analogous
#40A248 #40A279 #409AA2
triadic
#40A279 #7940A2 #A27940
tetradic
#40A279 #4840A2 #A24069 #9AA240
square
#40A279 #4840A2 #A24069 #9AA240
split-complementary
#40A279 #A2409A #A24840
monochromatic
#1D4A37 #2F7658 #40A279 #5FC097 #8BD1B4

Accessibility & contrast

On white

3.15
#40A279 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#40A279 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A279
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A279#FFFFFF#000000##000000
##40A2791.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9777
Deuteranopia (green-blind)
#928D7C
Tritanopia (blue-blind)
#08A297
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a279;
/* rgb */ color: rgb(64, 162, 121);
/* oklch */ color: oklch(64.3% 0.111 162.7);
Tailwind
colors: {
  custom: {
    50: '#7ebe9f',
    500: '#40a279',
    950: '#000000',
  },
}
SCSS
$custom: #40a279;
$custom-light: #7ebe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a279",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 121
  },
  "hsl": {
    "h": 154.898,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.11141,
    "h": 162.7
  },
  "luminance": 0.28311
}

Semantic roles & 50–950 ramp

primary
#40A279
secondary
#BC829A
accent
#558AD3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A279

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

Preview Lab → · Contrast checker → · Palette generator →

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