#40C07A#40C07A

#40C07A is a light, vivid green. Relative luminance 0.402; OKLCH L 72.0% C 0.152 H 155.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#40C07A
RGBrgb(64, 192, 122)
HSLhsl(147, 50%, 50%)
HSVhsv(147, 67%, 75%)
CMYKcmyk(66.7%, 0%, 36.5%, 24.7%)
CIE-LABlab(69.61, -50.89, 25.33)
CIE-LCHlch(69.61, 56.85, 153.54°)
OKLaboklab(72.05% -0.1378 0.0635)
OKLCHoklch(72.05% 0.152 155.3)
XYZxyz(24.4747, 40.1918, 24.8765)
Luminance0.4019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C07A #C04086
analogous
#46C040 #40C07A #40C0BA
triadic
#40C07A #7A40C0 #C07A40
tetradic
#40C07A #4046C0 #C04086 #C0BA40
square
#40C07A #4046C0 #C04086 #C0BA40
split-complementary
#40C07A #BA40C0 #C04046
monochromatic
#216440 #30925D #40C07A #6ECF9A #9CDEBA

Accessibility & contrast

On white

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

On black

9.04
#40C07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C07A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C07A#FFFFFF#000000##000000
##40C07A1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB175
Deuteranopia (green-blind)
#AFA57F
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c07a;
/* rgb */ color: rgb(64, 192, 122);
/* oklch */ color: oklch(72.0% 0.152 155.3);
Tailwind
colors: {
  custom: {
    50: '#84d4a1',
    500: '#40c07a',
    950: '#000000',
  },
}
SCSS
$custom: #40c07a;
$custom-light: #84d4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c07a",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 122
  },
  "hsl": {
    "h": 147.188,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72048,
    "c": 0.1517,
    "h": 155.3
  },
  "luminance": 0.40194
}

Semantic roles & 50–950 ramp

primary
#40C07A
secondary
#CB91B1
accent
#4E9ADA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C07A

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

Preview Lab → · Contrast checker → · Palette generator →

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