#40B28B#40B28B

#40B28B is a light, moderate teal. Relative luminance 0.348; OKLCH L 68.9% C 0.118 H 166.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#40B28B
RGBrgb(64, 178, 139)
HSLhsl(159, 47%, 47%)
HSVhsv(159, 64%, 70%)
CMYKcmyk(64%, 0%, 21.9%, 30.2%)
CIE-LABlab(65.59, -41.48, 10.61)
CIE-LCHlch(65.59, 42.82, 165.65°)
OKLaboklab(68.86% -0.1152 0.0272)
OKLCHoklch(68.86% 0.118 166.7)
XYZxyz(22.6926, 34.7925, 29.9408)
Luminance0.3479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B28B #B24067
analogous
#40B252 #40B28B #40A0B2
triadic
#40B28B #8B40B2 #B28B40
tetradic
#40B28B #5240B2 #B24067 #A0B240
square
#40B28B #5240B2 #B24067 #A0B240
split-complementary
#40B28B #B240A0 #B25240
monochromatic
#205845 #308568 #40B28B #67C8A7 #94D8C1

Accessibility & contrast

On white

2.64
#40B28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#40B28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B28B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B28B#FFFFFF#000000##000000
##40B28B1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA689
Deuteranopia (green-blind)
#9E9B8E
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b28b;
/* rgb */ color: rgb(64, 178, 139);
/* oklch */ color: oklch(68.9% 0.118 166.7);
Tailwind
colors: {
  custom: {
    50: '#81caad',
    500: '#40b28b',
    950: '#000000',
  },
}
SCSS
$custom: #40b28b;
$custom-light: #81caad;
$custom-dark: #000000;
JSON
{
  "hex": "#40b28b",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 139
  },
  "hsl": {
    "h": 159.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.11832,
    "h": 166.7
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

primary
#40B28B
secondary
#C48A9E
accent
#517FD7
background
#F8FCFA
surface
#F0F8F4
border
#CBD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #40B28B

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

Preview Lab → · Contrast checker → · Palette generator →

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