#40B571#40B571

#40B571 is a light, vivid green. Relative luminance 0.353; OKLCH L 69.0% C 0.145 H 154.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#40B571
RGBrgb(64, 181, 113)
HSLhsl(145, 48%, 48%)
HSVhsv(145, 65%, 71%)
CMYKcmyk(64.6%, 0%, 37.6%, 29%)
CIE-LABlab(66.00, -48.26, 25.28)
CIE-LCHlch(66.00, 54.48, 152.35°)
OKLaboklab(69.03% -0.1306 0.0632)
OKLCHoklch(69.03% 0.145 154.2)
XYZxyz(21.6170, 35.3277, 21.2993)
Luminance0.3533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B571 #B54084
analogous
#4AB540 #40B571 #40B5AB
triadic
#40B571 #7140B5 #B57140
tetradic
#40B571 #404AB5 #B54084 #B5AB40
square
#40B571 #404AB5 #B54084 #B5AB40
split-complementary
#40B571 #AB40B5 #B5404A
monochromatic
#205B39 #308855 #40B571 #68CA91 #96DAB2

Accessibility & contrast

On white

2.60
#40B571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#40B571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B571
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B571#FFFFFF#000000##000000
##40B5711.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A76C
Deuteranopia (green-blind)
#A69C75
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b571;
/* rgb */ color: rgb(64, 181, 113);
/* oklch */ color: oklch(69.0% 0.145 154.2);
Tailwind
colors: {
  custom: {
    50: '#82cc9a',
    500: '#40b571',
    950: '#000000',
  },
}
SCSS
$custom: #40b571;
$custom-light: #82cc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b571",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 113
  },
  "hsl": {
    "h": 145.128,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69034,
    "c": 0.14511,
    "h": 154.2
  },
  "luminance": 0.3533
}

Semantic roles & 50–950 ramp

primary
#40B571
secondary
#C58BAD
accent
#509FD7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B571

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

Preview Lab → · Contrast checker → · Palette generator →

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