#40B671#40B671

#40B671 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.3% C 0.146 H 154.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#40B671
RGBrgb(64, 182, 113)
HSLhsl(145, 48%, 48%)
HSVhsv(145, 65%, 71%)
CMYKcmyk(64.8%, 0%, 37.9%, 28.6%)
CIE-LABlab(66.32, -48.66, 25.70)
CIE-LCHlch(66.32, 55.03, 152.15°)
OKLaboklab(69.29% -0.1316 0.0642)
OKLCHoklch(69.29% 0.146 154)
XYZxyz(21.8211, 35.7359, 21.3673)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B671 #B64085
analogous
#4AB640 #40B671 #40B6AC
triadic
#40B671 #7140B6 #B67140
tetradic
#40B671 #404AB6 #B64085 #B6AC40
square
#40B671 #404AB6 #B64085 #B6AC40
split-complementary
#40B671 #AC40B6 #B6404A
monochromatic
#205B39 #308955 #40B671 #69CA91 #96DAB2

Accessibility & contrast

On white

2.58
#40B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#40B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B671
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B671#FFFFFF#000000##000000
##40B6711.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86C
Deuteranopia (green-blind)
#A69D75
Tritanopia (blue-blind)
#00B4A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b671;
/* rgb */ color: rgb(64, 182, 113);
/* oklch */ color: oklch(69.3% 0.146 154.0);
Tailwind
colors: {
  custom: {
    50: '#82cd9a',
    500: '#40b671',
    950: '#000000',
  },
}
SCSS
$custom: #40b671;
$custom-light: #82cd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b671",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 144.915,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.14649,
    "h": 154
  },
  "luminance": 0.35738
}

Semantic roles & 50–950 ramp

primary
#40B671
secondary
#C68CAE
accent
#509FD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C130E
muted
#7D827E

Preview Lab

Preview with #40B671

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

Preview Lab → · Contrast checker → · Palette generator →

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