#40A273#40A273

#40A273 is a light, moderate teal. Relative luminance 0.282; OKLCH L 64.2% C 0.117 H 159.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#40A273
RGBrgb(64, 162, 115)
HSLhsl(151, 43%, 44%)
HSVhsv(151, 60%, 64%)
CMYKcmyk(60.5%, 0%, 29%, 36.5%)
CIE-LABlab(60.04, -39.95, 16.11)
CIE-LCHlch(60.04, 43.07, 158.04°)
OKLaboklab(64.16% -0.1093 0.041)
OKLCHoklch(64.16% 0.117 159.5)
XYZxyz(18.1275, 28.1667, 20.6977)
Luminance0.2817 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A273 #A2406F
analogous
#40A242 #40A273 #40A0A2
triadic
#40A273 #7340A2 #A27340
tetradic
#40A273 #4240A2 #A2406F #A0A240
square
#40A273 #4240A2 #A2406F #A0A240
split-complementary
#40A273 #A240A0 #A24240
monochromatic
#1D4A35 #2F7654 #40A273 #5FC092 #8BD1B0

Accessibility & contrast

On white

3.17
#40A273 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#40A273 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A273
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A273#FFFFFF#000000##000000
##40A2731.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09670
Deuteranopia (green-blind)
#938D76
Tritanopia (blue-blind)
#12A195
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a273;
/* rgb */ color: rgb(64, 162, 115);
/* oklch */ color: oklch(64.2% 0.117 159.5);
Tailwind
colors: {
  custom: {
    50: '#7ebe9b',
    500: '#40a273',
    950: '#000000',
  },
}
SCSS
$custom: #40a273;
$custom-light: #7ebe9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a273",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 115
  },
  "hsl": {
    "h": 151.224,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.11669,
    "h": 159.5
  },
  "luminance": 0.28168
}

Semantic roles & 50–950 ramp

primary
#40A273
secondary
#BC829E
accent
#5591D3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A273

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

Preview Lab → · Contrast checker → · Palette generator →

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