#40C27D#40C27D

#40C27D is a light, vivid green. Relative luminance 0.412; OKLCH L 72.6% C 0.152 H 155.9°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#40C27D
RGBrgb(64, 194, 125)
HSLhsl(148, 52%, 51%)
HSVhsv(148, 67%, 76%)
CMYKcmyk(67%, 0%, 35.6%, 23.9%)
CIE-LABlab(70.28, -51.10, 24.65)
CIE-LCHlch(70.28, 56.73, 154.24°)
OKLaboklab(72.62% -0.1384 0.0619)
OKLCHoklch(72.62% 0.152 155.9)
XYZxyz(25.1055, 41.1515, 26.0180)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C27D #C24085
analogous
#44C240 #40C27D #40C2BE
triadic
#40C27D #7D40C2 #C27D40
tetradic
#40C27D #4044C2 #C24085 #C2BE40
square
#40C27D #4044C2 #C24085 #C2BE40
split-complementary
#40C27D #BE40C2 #C24044
monochromatic
#216742 #30955F #40C27D #6ED19D #9DE0BC

Accessibility & contrast

On white

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

On black

9.23
#40C27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C27D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C27D#FFFFFF#000000##000000
##40C27D1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B379
Deuteranopia (green-blind)
#B0A781
Tritanopia (blue-blind)
#00C0B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c27d;
/* rgb */ color: rgb(64, 194, 125);
/* oklch */ color: oklch(72.6% 0.152 155.9);
Tailwind
colors: {
  custom: {
    50: '#84d5a3',
    500: '#40c27d',
    950: '#000000',
  },
}
SCSS
$custom: #40c27d;
$custom-light: #84d5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c27d",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 125
  },
  "hsl": {
    "h": 148.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.15164,
    "h": 155.9
  },
  "luminance": 0.41154
}

Semantic roles & 50–950 ramp

primary
#40C27D
secondary
#CC92B1
accent
#4D98DB
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C27D

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

Preview Lab → · Contrast checker → · Palette generator →

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