#40C57B#40C57B

#40C57B is a light, vivid green. Relative luminance 0.425; OKLCH L 73.3% C 0.157 H 154.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#40C57B
RGBrgb(64, 197, 123)
HSLhsl(147, 53%, 51%)
HSVhsv(147, 68%, 77%)
CMYKcmyk(67.5%, 0%, 37.6%, 22.7%)
CIE-LABlab(71.18, -52.65, 26.91)
CIE-LCHlch(71.18, 59.13, 152.93°)
OKLaboklab(73.35% -0.1424 0.0673)
OKLCHoklch(73.35% 0.157 154.7)
XYZxyz(25.6535, 42.4498, 25.5767)
Luminance0.4245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C57B #C5408A
analogous
#47C540 #40C57B #40C5BE
triadic
#40C57B #7B40C5 #C57B40
tetradic
#40C57B #4047C5 #C5408A #C5BE40
square
#40C57B #4047C5 #C5408A #C5BE40
split-complementary
#40C57B #BE40C5 #C54047
monochromatic
#206A41 #2F995E #40C57B #6FD39B #9EE2BC

Accessibility & contrast

On white

2.21
#40C57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#40C57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C57B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C57B#FFFFFF#000000##000000
##40C57B1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B576
Deuteranopia (green-blind)
#B4A980
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c57b;
/* rgb */ color: rgb(64, 197, 123);
/* oklch */ color: oklch(73.3% 0.157 154.7);
Tailwind
colors: {
  custom: {
    50: '#84d7a1',
    500: '#40c57b',
    950: '#000000',
  },
}
SCSS
$custom: #40c57b;
$custom-light: #84d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c57b",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 123
  },
  "hsl": {
    "h": 146.617,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.15748,
    "h": 154.7
  },
  "luminance": 0.42453
}

Semantic roles & 50–950 ramp

primary
#40C57B
secondary
#CE93B4
accent
#4B9CDD
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C57B

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

Preview Lab → · Contrast checker → · Palette generator →

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