#40C27F#40C27F

#40C27F is a light, vivid green. Relative luminance 0.412; OKLCH L 72.7% C 0.150 H 156.6°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#40C27F
RGBrgb(64, 194, 127)
HSLhsl(149, 52%, 51%)
HSVhsv(149, 67%, 76%)
CMYKcmyk(67%, 0%, 34.5%, 23.9%)
CIE-LABlab(70.32, -50.70, 23.64)
CIE-LCHlch(70.32, 55.94, 155.00°)
OKLaboklab(72.66% -0.1375 0.0595)
OKLCHoklch(72.66% 0.15 156.6)
XYZxyz(25.2346, 41.2031, 26.6977)
Luminance0.4121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C27F #C24083
analogous
#42C240 #40C27F #40C2C0
triadic
#40C27F #7F40C2 #C27F40
tetradic
#40C27F #4042C2 #C24083 #C2C040
square
#40C27F #4042C2 #C24083 #C2C040
split-complementary
#40C27F #C040C2 #C24042
monochromatic
#216743 #309561 #40C27F #6ED19E #9DE0BD

Accessibility & contrast

On white

2.27
#40C27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#40C27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C27F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C27F#FFFFFF#000000##000000
##40C27F1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37B
Deuteranopia (green-blind)
#B0A783
Tritanopia (blue-blind)
#00C0B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c27f;
/* rgb */ color: rgb(64, 194, 127);
/* oklch */ color: oklch(72.7% 0.150 156.6);
Tailwind
colors: {
  custom: {
    50: '#84d5a4',
    500: '#40c27f',
    950: '#000000',
  },
}
SCSS
$custom: #40c27f;
$custom-light: #84d5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c27f",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 127
  },
  "hsl": {
    "h": 149.077,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.14983,
    "h": 156.6
  },
  "luminance": 0.41206
}

Semantic roles & 50–950 ramp

primary
#40C27F
secondary
#CC92B0
accent
#4D96DB
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C27F

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

Preview Lab → · Contrast checker → · Palette generator →

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