#40C681#40C681

#40C681 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.7% C 0.153 H 156.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#40C681
RGBrgb(64, 198, 129)
HSLhsl(149, 54%, 51%)
HSVhsv(149, 68%, 78%)
CMYKcmyk(67.7%, 0%, 34.8%, 22.4%)
CIE-LABlab(71.60, -51.88, 24.31)
CIE-LCHlch(71.60, 57.29, 154.89°)
OKLaboklab(73.73% -0.1406 0.0612)
OKLCHoklch(73.73% 0.153 156.5)
XYZxyz(26.2685, 43.0603, 27.6917)
Luminance0.4306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C681 #C64085
analogous
#42C640 #40C681 #40C6C4
triadic
#40C681 #8140C6 #C68140
tetradic
#40C681 #4042C6 #C64085 #C6C440
square
#40C681 #4042C6 #C64085 #C6C440
split-complementary
#40C681 #C440C6 #C64042
monochromatic
#206C45 #2E9B63 #40C681 #6FD4A0 #9EE2BF

Accessibility & contrast

On white

2.18
#40C681 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#40C681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C681
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C681#FFFFFF#000000##000000
##40C6811.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B77D
Deuteranopia (green-blind)
#B4AA85
Tritanopia (blue-blind)
#00C4B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c681;
/* rgb */ color: rgb(64, 198, 129);
/* oklch */ color: oklch(73.7% 0.153 156.5);
Tailwind
colors: {
  custom: {
    50: '#85d8a6',
    500: '#40c681',
    950: '#000000',
  },
}
SCSS
$custom: #40c681;
$custom-light: #85d8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c681",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 129
  },
  "hsl": {
    "h": 149.104,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73726,
    "c": 0.15334,
    "h": 156.5
  },
  "luminance": 0.43063
}

Semantic roles & 50–950 ramp

primary
#40C681
secondary
#CE93B2
accent
#4A96DD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C681

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

Preview Lab → · Contrast checker → · Palette generator →

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