#40B876#40B876

#40B876 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.9% C 0.145 H 155.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#40B876
RGBrgb(64, 184, 118)
HSLhsl(147, 48%, 49%)
HSVhsv(147, 65%, 72%)
CMYKcmyk(65.2%, 0%, 35.9%, 27.8%)
CIE-LABlab(67.03, -48.50, 24.00)
CIE-LCHlch(67.03, 54.11, 153.67°)
OKLaboklab(69.91% -0.1314 0.0603)
OKLCHoklch(69.91% 0.145 155.4)
XYZxyz(22.5229, 36.6766, 23.0283)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B876 #B84082
analogous
#46B840 #40B876 #40B8B2
triadic
#40B876 #7640B8 #B87640
tetradic
#40B876 #4046B8 #B84082 #B8B240
square
#40B876 #4046B8 #B84082 #B8B240
split-complementary
#40B876 #B240B8 #B84046
monochromatic
#205D3C #308B59 #40B876 #6ACB96 #97DBB6

Accessibility & contrast

On white

2.52
#40B876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#40B876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B876
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B876#FFFFFF#000000##000000
##40B8761.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA72
Deuteranopia (green-blind)
#A89F7A
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b876;
/* rgb */ color: rgb(64, 184, 118);
/* oklch */ color: oklch(69.9% 0.145 155.4);
Tailwind
colors: {
  custom: {
    50: '#82ce9e',
    500: '#40b876',
    950: '#000000',
  },
}
SCSS
$custom: #40b876;
$custom-light: #82ce9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b876",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 118
  },
  "hsl": {
    "h": 147,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6991,
    "c": 0.14456,
    "h": 155.4
  },
  "luminance": 0.36679
}

Semantic roles & 50–950 ramp

primary
#40B876
secondary
#C78DAD
accent
#509BD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B876

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

Preview Lab → · Contrast checker → · Palette generator →

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