#40C47B#40C47B

#40C47B is a light, vivid green. Relative luminance 0.420; OKLCH L 73.1% C 0.156 H 154.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#40C47B
RGBrgb(64, 196, 123)
HSLhsl(147, 53%, 51%)
HSVhsv(147, 67%, 77%)
CMYKcmyk(67.3%, 0%, 37.2%, 23.1%)
CIE-LABlab(70.87, -52.26, 26.49)
CIE-LCHlch(70.87, 58.59, 153.12°)
OKLaboklab(73.09% -0.1414 0.0663)
OKLCHoklch(73.09% 0.156 154.9)
XYZxyz(25.4272, 41.9971, 25.5013)
Luminance0.4200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C47B #C44089
analogous
#47C440 #40C47B #40C4BD
triadic
#40C47B #7B40C4 #C47B40
tetradic
#40C47B #4047C4 #C44089 #C4BD40
square
#40C47B #4047C4 #C44089 #C4BD40
split-complementary
#40C47B #BD40C4 #C44047
monochromatic
#206941 #2F985E #40C47B #6FD29B #9EE1BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C47B#FFFFFF#000000##000000
##40C47B1.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)
#C3B576
Deuteranopia (green-blind)
#B3A980
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c47b;
/* rgb */ color: rgb(64, 196, 123);
/* oklch */ color: oklch(73.1% 0.156 154.9);
Tailwind
colors: {
  custom: {
    50: '#84d7a1',
    500: '#40c47b',
    950: '#000000',
  },
}
SCSS
$custom: #40c47b;
$custom-light: #84d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c47b",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 123
  },
  "hsl": {
    "h": 146.818,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73093,
    "c": 0.15614,
    "h": 154.9
  },
  "luminance": 0.42
}

Semantic roles & 50–950 ramp

primary
#40C47B
secondary
#CD93B3
accent
#4C9CDC
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C47B

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

Preview Lab → · Contrast checker → · Palette generator →

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