#40B791#40B791

#40B791 is a light, vivid teal. Relative luminance 0.370; OKLCH L 70.3% C 0.120 H 168.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#40B791
RGBrgb(64, 183, 145)
HSLhsl(161, 48%, 48%)
HSVhsv(161, 65%, 72%)
CMYKcmyk(65%, 0%, 20.8%, 28.2%)
CIE-LABlab(67.28, -42.24, 9.71)
CIE-LCHlch(67.28, 43.34, 167.05°)
OKLaboklab(70.29% -0.1176 0.0249)
OKLCHoklch(70.29% 0.12 168.1)
XYZxyz(24.1561, 36.9987, 32.6510)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B791 #B74066
analogous
#40B755 #40B791 #40A1B7
triadic
#40B791 #9140B7 #B79140
tetradic
#40B791 #5540B7 #B74066 #A1B740
square
#40B791 #5540B7 #B74066 #A1B740
split-complementary
#40B791 #B740A1 #B75540
monochromatic
#205C49 #308A6D #40B791 #69CBAC #97DBC5

Accessibility & contrast

On white

2.50
#40B791 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#40B791 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B791
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B791#FFFFFF#000000##000000
##40B7911.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AB8F
Deuteranopia (green-blind)
#A29F94
Tritanopia (blue-blind)
#00B8AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b791;
/* rgb */ color: rgb(64, 183, 145);
/* oklch */ color: oklch(70.3% 0.120 168.1);
Tailwind
colors: {
  custom: {
    50: '#82cdb1',
    500: '#40b791',
    950: '#000000',
  },
}
SCSS
$custom: #40b791;
$custom-light: #82cdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#40b791",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 145
  },
  "hsl": {
    "h": 160.84,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70292,
    "c": 0.12022,
    "h": 168.1
  },
  "luminance": 0.37001
}

Semantic roles & 50–950 ramp

primary
#40B791
secondary
#C68D9F
accent
#507BD8
background
#F8FCFA
surface
#F0F9F5
border
#CBD2CF
text
#0C1310
muted
#7D827F

Preview Lab

Preview with #40B791

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

Preview Lab → · Contrast checker → · Palette generator →

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