#40C38B#40C38B

#40C38B is a light, vivid teal. Relative luminance 0.420; OKLCH L 73.2% C 0.141 H 161.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#40C38B
RGBrgb(64, 195, 139)
HSLhsl(154, 52%, 51%)
HSVhsv(154, 67%, 76%)
CMYKcmyk(67.2%, 0%, 28.7%, 23.5%)
CIE-LABlab(70.86, -48.62, 17.99)
CIE-LCHlch(70.86, 51.84, 159.70°)
OKLaboklab(73.18% -0.1329 0.0457)
OKLCHoklch(73.18% 0.141 161)
XYZxyz(26.2870, 41.9814, 31.1389)
Luminance0.4198 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C38B #C34078
analogous
#40C349 #40C38B #40B9C3
triadic
#40C38B #8B40C3 #C38B40
tetradic
#40C38B #4940C3 #C34078 #B9C340
square
#40C38B #4940C3 #C34078 #B9C340
split-complementary
#40C38B #C340B9 #C34940
monochromatic
#216849 #2F976A #40C38B #6FD2A7 #9DE0C4

Accessibility & contrast

On white

2.23
#40C38B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#40C38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C38B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C38B#FFFFFF#000000##000000
##40C38B1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B588
Deuteranopia (green-blind)
#AFA88F
Tritanopia (blue-blind)
#00C2B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c38b;
/* rgb */ color: rgb(64, 195, 139);
/* oklch */ color: oklch(73.2% 0.141 161.0);
Tailwind
colors: {
  custom: {
    50: '#84d6ad',
    500: '#40c38b',
    950: '#000000',
  },
}
SCSS
$custom: #40c38b;
$custom-light: #84d6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40c38b",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 139
  },
  "hsl": {
    "h": 154.351,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.14057,
    "h": 161
  },
  "luminance": 0.41984
}

Semantic roles & 50–950 ramp

primary
#40C38B
secondary
#CC92AB
accent
#4C89DC
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C1410
muted
#7D837F

Preview Lab

Preview with #40C38B

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

Preview Lab → · Contrast checker → · Palette generator →

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