#40C07C#40C07C

#40C07C is a light, vivid green. Relative luminance 0.402; OKLCH L 72.1% C 0.150 H 155.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#40C07C
RGBrgb(64, 192, 124)
HSLhsl(148, 50%, 50%)
HSVhsv(148, 67%, 75%)
CMYKcmyk(66.7%, 0%, 35.4%, 24.7%)
CIE-LABlab(69.64, -50.50, 24.32)
CIE-LCHlch(69.64, 56.05, 154.29°)
OKLaboklab(72.09% -0.1368 0.0611)
OKLCHoklch(72.09% 0.15 155.9)
XYZxyz(24.5998, 40.2418, 25.5359)
Luminance0.4024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C07C #C04084
analogous
#44C040 #40C07C #40C0BC
triadic
#40C07C #7C40C0 #C07C40
tetradic
#40C07C #4044C0 #C04084 #C0BC40
square
#40C07C #4044C0 #C04084 #C0BC40
split-complementary
#40C07C #BC40C0 #C04044
monochromatic
#216441 #30925E #40C07C #6ECF9C #9CDEBB

Accessibility & contrast

On white

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

On black

9.05
#40C07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C07C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C07C#FFFFFF#000000##000000
##40C07C1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c07c;
/* rgb */ color: rgb(64, 192, 124);
/* oklch */ color: oklch(72.1% 0.150 155.9);
Tailwind
colors: {
  custom: {
    50: '#84d4a2',
    500: '#40c07c',
    950: '#000000',
  },
}
SCSS
$custom: #40c07c;
$custom-light: #84d4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c07c",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 124
  },
  "hsl": {
    "h": 148.125,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.14987,
    "h": 155.9
  },
  "luminance": 0.40244
}

Semantic roles & 50–950 ramp

primary
#40C07C
secondary
#CB91B0
accent
#4E98DA
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C07C

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

Preview Lab → · Contrast checker → · Palette generator →

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