#40C07E#40C07E

#40C07E is a light, vivid green. Relative luminance 0.403; OKLCH L 72.1% C 0.148 H 156.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#40C07E
RGBrgb(64, 192, 126)
HSLhsl(149, 50%, 50%)
HSVhsv(149, 67%, 75%)
CMYKcmyk(66.7%, 0%, 34.4%, 24.7%)
CIE-LABlab(69.68, -50.11, 23.31)
CIE-LCHlch(69.68, 55.27, 155.05°)
OKLaboklab(72.13% -0.1359 0.0587)
OKLCHoklch(72.13% 0.148 156.6)
XYZxyz(24.7276, 40.2930, 26.2088)
Luminance0.4030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C07E #C04082
analogous
#42C040 #40C07E #40C0BE
triadic
#40C07E #7E40C0 #C07E40
tetradic
#40C07E #4042C0 #C04082 #C0BE40
square
#40C07E #4042C0 #C04082 #C0BE40
split-complementary
#40C07E #BE40C0 #C04042
monochromatic
#216442 #309260 #40C07E #6ECF9D #9CDEBC

Accessibility & contrast

On white

2.32
#40C07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#40C07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C07E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C07E#FFFFFF#000000##000000
##40C07E1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB17A
Deuteranopia (green-blind)
#AEA582
Tritanopia (blue-blind)
#00BEAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c07e;
/* rgb */ color: rgb(64, 192, 126);
/* oklch */ color: oklch(72.1% 0.148 156.6);
Tailwind
colors: {
  custom: {
    50: '#84d4a3',
    500: '#40c07e',
    950: '#000000',
  },
}
SCSS
$custom: #40c07e;
$custom-light: #84d4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c07e",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 126
  },
  "hsl": {
    "h": 149.063,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.14805,
    "h": 156.6
  },
  "luminance": 0.40296
}

Semantic roles & 50–950 ramp

primary
#40C07E
secondary
#CB91AF
accent
#4E96DA
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C07E

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

Preview Lab → · Contrast checker → · Palette generator →

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