#40B978#40B978

#40B978 is a light, vivid green. Relative luminance 0.371; OKLCH L 70.2% C 0.144 H 155.9°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#40B978
RGBrgb(64, 185, 120)
HSLhsl(148, 49%, 49%)
HSVhsv(148, 65%, 73%)
CMYKcmyk(65.4%, 0%, 35.1%, 27.5%)
CIE-LABlab(67.38, -48.50, 23.41)
CIE-LCHlch(67.38, 53.86, 154.24°)
OKLaboklab(70.21% -0.1315 0.0589)
OKLCHoklch(70.21% 0.144 155.9)
XYZxyz(22.8514, 37.1416, 23.7304)
Luminance0.3714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B978 #B94081
analogous
#45B940 #40B978 #40B9B5
triadic
#40B978 #7840B9 #B97840
tetradic
#40B978 #4045B9 #B94081 #B9B540
square
#40B978 #4045B9 #B94081 #B9B540
split-complementary
#40B978 #B540B9 #B94045
monochromatic
#215E3D #308C5B #40B978 #6BCC97 #98DBB7

Accessibility & contrast

On white

2.49
#40B978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#40B978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B978
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B978#FFFFFF#000000##000000
##40B9781.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AB74
Deuteranopia (green-blind)
#A8A07C
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b978;
/* rgb */ color: rgb(64, 185, 120);
/* oklch */ color: oklch(70.2% 0.144 155.9);
Tailwind
colors: {
  custom: {
    50: '#82cf9f',
    500: '#40b978',
    950: '#000000',
  },
}
SCSS
$custom: #40b978;
$custom-light: #82cf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b978",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 147.769,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70209,
    "c": 0.14408,
    "h": 155.9
  },
  "luminance": 0.37144
}

Semantic roles & 50–950 ramp

primary
#40B978
secondary
#C78EAD
accent
#5099D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B978

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

Preview Lab → · Contrast checker → · Palette generator →

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