#40C581#40C581

#40C581 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.5% C 0.152 H 156.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#40C581
RGBrgb(64, 197, 129)
HSLhsl(149, 53%, 51%)
HSVhsv(149, 68%, 77%)
CMYKcmyk(67.5%, 0%, 34.5%, 22.7%)
CIE-LABlab(71.29, -51.49, 23.89)
CIE-LCHlch(71.29, 56.76, 155.11°)
OKLaboklab(73.47% -0.1396 0.0602)
OKLCHoklch(73.47% 0.152 156.7)
XYZxyz(26.0406, 42.6046, 27.6158)
Luminance0.4261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C581 #C54084
analogous
#41C540 #40C581 #40C5C3
triadic
#40C581 #8140C5 #C58140
tetradic
#40C581 #4041C5 #C54084 #C5C340
square
#40C581 #4041C5 #C54084 #C5C340
split-complementary
#40C581 #C340C5 #C54041
monochromatic
#206A44 #2F9963 #40C581 #6FD3A0 #9EE2BF

Accessibility & contrast

On white

2.21
#40C581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#40C581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C581
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C581#FFFFFF#000000##000000
##40C5811.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67D
Deuteranopia (green-blind)
#B3AA85
Tritanopia (blue-blind)
#00C3B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c581;
/* rgb */ color: rgb(64, 197, 129);
/* oklch */ color: oklch(73.5% 0.152 156.7);
Tailwind
colors: {
  custom: {
    50: '#84d7a6',
    500: '#40c581',
    950: '#000000',
  },
}
SCSS
$custom: #40c581;
$custom-light: #84d7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c581",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 129
  },
  "hsl": {
    "h": 149.323,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73471,
    "c": 0.15202,
    "h": 156.7
  },
  "luminance": 0.42607
}

Semantic roles & 50–950 ramp

primary
#40C581
secondary
#CE93B1
accent
#4B96DD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C581

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

Preview Lab → · Contrast checker → · Palette generator →

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