#40C680#40C680

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

Color values

HEX#40C680
RGBrgb(64, 198, 128)
HSLhsl(149, 54%, 51%)
HSVhsv(149, 68%, 78%)
CMYKcmyk(67.7%, 0%, 35.4%, 22.4%)
CIE-LABlab(71.58, -52.08, 24.82)
CIE-LCHlch(71.58, 57.69, 154.52°)
OKLaboklab(73.71% -0.1411 0.0624)
OKLCHoklch(73.71% 0.154 156.2)
XYZxyz(26.2023, 43.0338, 27.3433)
Luminance0.4304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C680 #C64086
analogous
#43C640 #40C680 #40C6C3
triadic
#40C680 #8040C6 #C68040
tetradic
#40C680 #4043C6 #C64086 #C6C340
square
#40C680 #4043C6 #C64086 #C6C340
split-complementary
#40C680 #C340C6 #C64043
monochromatic
#206C44 #2E9B62 #40C680 #6FD49F #9EE2BF

Accessibility & contrast

On white

2.19
#40C680 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C680#FFFFFF#000000##000000
##40C6801.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c680;
/* rgb */ color: rgb(64, 198, 128);
/* oklch */ color: oklch(73.7% 0.154 156.2);
Tailwind
colors: {
  custom: {
    50: '#85d8a5',
    500: '#40c680',
    950: '#000000',
  },
}
SCSS
$custom: #40c680;
$custom-light: #85d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40c680",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 128
  },
  "hsl": {
    "h": 148.657,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73705,
    "c": 0.15425,
    "h": 156.2
  },
  "luminance": 0.43037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C680

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

Preview Lab → · Contrast checker → · Palette generator →

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