#40C37B#40C37B

#40C37B is a light, vivid green. Relative luminance 0.415; OKLCH L 72.8% C 0.155 H 155.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#40C37B
RGBrgb(64, 195, 123)
HSLhsl(147, 52%, 51%)
HSVhsv(147, 67%, 76%)
CMYKcmyk(67.2%, 0%, 36.9%, 23.5%)
CIE-LABlab(70.56, -51.87, 26.08)
CIE-LCHlch(70.56, 58.06, 153.31°)
OKLaboklab(72.84% -0.1403 0.0653)
OKLCHoklch(72.84% 0.155 155)
XYZxyz(25.2024, 41.5475, 25.4263)
Luminance0.4155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C37B #C34088
analogous
#46C340 #40C37B #40C3BC
triadic
#40C37B #7B40C3 #C37B40
tetradic
#40C37B #4046C3 #C34088 #C3BC40
square
#40C37B #4046C3 #C34088 #C3BC40
split-complementary
#40C37B #BC40C3 #C34046
monochromatic
#216841 #2F975E #40C37B #6FD29B #9DE0BB

Accessibility & contrast

On white

2.26
#40C37B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#40C37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C37B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C37B#FFFFFF#000000##000000
##40C37B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B476
Deuteranopia (green-blind)
#B2A880
Tritanopia (blue-blind)
#00C1B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c37b;
/* rgb */ color: rgb(64, 195, 123);
/* oklch */ color: oklch(72.8% 0.155 155.0);
Tailwind
colors: {
  custom: {
    50: '#84d6a1',
    500: '#40c37b',
    950: '#000000',
  },
}
SCSS
$custom: #40c37b;
$custom-light: #84d6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c37b",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 123
  },
  "hsl": {
    "h": 147.023,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.1548,
    "h": 155
  },
  "luminance": 0.4155
}

Semantic roles & 50–950 ramp

primary
#40C37B
secondary
#CC92B2
accent
#4C9BDC
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C37B

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

Preview Lab → · Contrast checker → · Palette generator →

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