#40B772#40B772

#40B772 is a light, vivid green. Relative luminance 0.362; OKLCH L 69.6% C 0.147 H 154.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#40B772
RGBrgb(64, 183, 114)
HSLhsl(145, 48%, 48%)
HSVhsv(145, 65%, 72%)
CMYKcmyk(65%, 0%, 37.7%, 28.2%)
CIE-LABlab(66.65, -48.87, 25.61)
CIE-LCHlch(66.65, 55.17, 152.34°)
OKLaboklab(69.57% -0.1322 0.0641)
OKLCHoklch(69.57% 0.147 154.2)
XYZxyz(22.0832, 36.1696, 21.7340)
Luminance0.3617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B772 #B74085
analogous
#49B740 #40B772 #40B7AD
triadic
#40B772 #7240B7 #B77240
tetradic
#40B772 #4049B7 #B74085 #B7AD40
square
#40B772 #4049B7 #B74085 #B7AD40
split-complementary
#40B772 #AD40B7 #B74049
monochromatic
#205C3A #308A56 #40B772 #69CB92 #97DBB3

Accessibility & contrast

On white

2.55
#40B772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#40B772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B772
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B772#FFFFFF#000000##000000
##40B7721.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96D
Deuteranopia (green-blind)
#A79E76
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b772;
/* rgb */ color: rgb(64, 183, 114);
/* oklch */ color: oklch(69.6% 0.147 154.2);
Tailwind
colors: {
  custom: {
    50: '#82cd9b',
    500: '#40b772',
    950: '#000000',
  },
}
SCSS
$custom: #40b772;
$custom-light: #82cd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b772",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 114
  },
  "hsl": {
    "h": 145.21,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69571,
    "c": 0.14692,
    "h": 154.2
  },
  "luminance": 0.36172
}

Semantic roles & 50–950 ramp

primary
#40B772
secondary
#C68DAE
accent
#509FD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B772

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

Preview Lab → · Contrast checker → · Palette generator →

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