#40B279#40B279

#40B279 is a light, vivid teal. Relative luminance 0.343; OKLCH L 68.4% C 0.134 H 157.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#40B279
RGBrgb(64, 178, 121)
HSLhsl(150, 47%, 47%)
HSVhsv(150, 64%, 70%)
CMYKcmyk(64%, 0%, 32%, 30.2%)
CIE-LABlab(65.21, -45.45, 19.92)
CIE-LCHlch(65.21, 49.63, 156.34°)
OKLaboklab(68.43% -0.1237 0.0504)
OKLCHoklch(68.43% 0.134 157.8)
XYZxyz(21.4840, 34.3090, 23.5755)
Luminance0.3431 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B279 #B24079
analogous
#40B240 #40B279 #40B2B2
triadic
#40B279 #7940B2 #B27940
tetradic
#40B279 #4040B2 #B24079 #B2B240
square
#40B279 #4040B2 #B24079 #B2B240
split-complementary
#40B279 #B240B2 #B24040
monochromatic
#20583C #30855A #40B279 #67C898 #94D8B6

Accessibility & contrast

On white

2.67
#40B279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#40B279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B279
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B279#FFFFFF#000000##000000
##40B2791.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A576
Deuteranopia (green-blind)
#A19A7D
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b279;
/* rgb */ color: rgb(64, 178, 121);
/* oklch */ color: oklch(68.4% 0.134 157.8);
Tailwind
colors: {
  custom: {
    50: '#81caa0',
    500: '#40b279',
    950: '#000000',
  },
}
SCSS
$custom: #40b279;
$custom-light: #81caa0;
$custom-dark: #000000;
JSON
{
  "hex": "#40b279",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 121
  },
  "hsl": {
    "h": 150,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.13358,
    "h": 157.8
  },
  "luminance": 0.34311
}

Semantic roles & 50–950 ramp

primary
#40B279
secondary
#C48AA7
accent
#5194D7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B279

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

Preview Lab → · Contrast checker → · Palette generator →

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