#40C07F#40C07F

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

Color values

HEX#40C07F
RGBrgb(64, 192, 127)
HSLhsl(150, 50%, 50%)
HSVhsv(150, 67%, 75%)
CMYKcmyk(66.7%, 0%, 33.9%, 24.7%)
CIE-LABlab(69.70, -49.91, 22.80)
CIE-LCHlch(69.70, 54.87, 155.45°)
OKLaboklab(72.15% -0.1355 0.0575)
OKLCHoklch(72.15% 0.147 157)
XYZxyz(24.7925, 40.3189, 26.5503)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C07F #C04081
analogous
#41C040 #40C07F #40C0BF
triadic
#40C07F #7F40C0 #C07F40
tetradic
#40C07F #4041C0 #C04081 #C0BF40
square
#40C07F #4041C0 #C04081 #C0BF40
split-complementary
#40C07F #BF40C0 #C04041
monochromatic
#216442 #309261 #40C07F #6ECF9E #9CDEBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C07F#FFFFFF#000000##000000
##40C07F1.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)
#BFB17B
Deuteranopia (green-blind)
#AEA683
Tritanopia (blue-blind)
#00BEAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c07f;
/* rgb */ color: rgb(64, 192, 127);
/* oklch */ color: oklch(72.2% 0.147 157.0);
Tailwind
colors: {
  custom: {
    50: '#84d4a4',
    500: '#40c07f',
    950: '#000000',
  },
}
SCSS
$custom: #40c07f;
$custom-light: #84d4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c07f",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 127
  },
  "hsl": {
    "h": 149.531,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72152,
    "c": 0.14715,
    "h": 157
  },
  "luminance": 0.40322
}

Semantic roles & 50–950 ramp

primary
#40C07F
secondary
#CB91AE
accent
#4E95DA
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C07F

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

Preview Lab → · Contrast checker → · Palette generator →

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