#40C671#40C671

#40C671 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.4% C 0.168 H 151.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#40C671
RGBrgb(64, 198, 113)
HSLhsl(142, 54%, 51%)
HSVhsv(142, 68%, 78%)
CMYKcmyk(67.7%, 0%, 42.9%, 22.4%)
CIE-LABlab(71.33, -54.84, 32.29)
CIE-LCHlch(71.33, 63.64, 149.51°)
OKLaboklab(73.42% -0.1479 0.0797)
OKLCHoklch(73.42% 0.168 151.7)
XYZxyz(25.2870, 42.6677, 22.5226)
Luminance0.4267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C671 #C64095
analogous
#52C640 #40C671 #40C6B4
triadic
#40C671 #7140C6 #C67140
tetradic
#40C671 #4052C6 #C64095 #C6B440
square
#40C671 #4052C6 #C64095 #C6B440
split-complementary
#40C671 #B440C6 #C64052
monochromatic
#206C3C #2E9B56 #40C671 #6FD494 #9EE2B7

Accessibility & contrast

On white

2.20
#40C671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#40C671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C671
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C671#FFFFFF#000000##000000
##40C6711.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66B
Deuteranopia (green-blind)
#B6AA77
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c671;
/* rgb */ color: rgb(64, 198, 113);
/* oklch */ color: oklch(73.4% 0.168 151.7);
Tailwind
colors: {
  custom: {
    50: '#85d89b',
    500: '#40c671',
    950: '#000000',
  },
}
SCSS
$custom: #40c671;
$custom-light: #85d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c671",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 141.94,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73418,
    "c": 0.168,
    "h": 151.7
  },
  "luminance": 0.4267
}

Semantic roles & 50–950 ramp

primary
#40C671
secondary
#CE93B9
accent
#4AA8DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C671

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

Preview Lab → · Contrast checker → · Palette generator →

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