#40C67C#40C67C

#40C67C is a light, vivid green. Relative luminance 0.429; OKLCH L 73.6% C 0.158 H 154.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#40C67C
RGBrgb(64, 198, 124)
HSLhsl(147, 54%, 51%)
HSVhsv(147, 68%, 78%)
CMYKcmyk(67.7%, 0%, 37.4%, 22.4%)
CIE-LABlab(71.51, -52.85, 26.82)
CIE-LCHlch(71.51, 59.26, 153.09°)
OKLaboklab(73.62% -0.1429 0.0671)
OKLCHoklch(73.62% 0.158 154.8)
XYZxyz(25.9442, 42.9306, 25.9840)
Luminance0.4293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C67C #C6408A
analogous
#47C640 #40C67C #40C6BF
triadic
#40C67C #7C40C6 #C67C40
tetradic
#40C67C #4047C6 #C6408A #C6BF40
square
#40C67C #4047C6 #C6408A #C6BF40
split-complementary
#40C67C #BF40C6 #C64047
monochromatic
#206C42 #2E9B5F #40C67C #6FD49C #9EE2BD

Accessibility & contrast

On white

2.19
#40C67C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#40C67C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C67C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C67C#FFFFFF#000000##000000
##40C67C1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B677
Deuteranopia (green-blind)
#B4AA81
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c67c;
/* rgb */ color: rgb(64, 198, 124);
/* oklch */ color: oklch(73.6% 0.158 154.8);
Tailwind
colors: {
  custom: {
    50: '#85d8a2',
    500: '#40c67c',
    950: '#000000',
  },
}
SCSS
$custom: #40c67c;
$custom-light: #85d8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c67c",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 124
  },
  "hsl": {
    "h": 146.866,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73624,
    "c": 0.15789,
    "h": 154.8
  },
  "luminance": 0.42933
}

Semantic roles & 50–950 ramp

primary
#40C67C
secondary
#CE93B4
accent
#4A9CDD
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C67C

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

Preview Lab → · Contrast checker → · Palette generator →

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