#40B372#40B372

#40B372 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.5% C 0.141 H 154.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#40B372
RGBrgb(64, 179, 114)
HSLhsl(146, 47%, 48%)
HSVhsv(146, 64%, 70%)
CMYKcmyk(64.2%, 0%, 36.3%, 29.8%)
CIE-LABlab(65.39, -47.26, 23.93)
CIE-LCHlch(65.39, 52.98, 153.14°)
OKLaboklab(68.54% -0.128 0.06)
OKLCHoklch(68.54% 0.141 154.9)
XYZxyz(21.2699, 34.5429, 21.4628)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B372 #B34081
analogous
#47B340 #40B372 #40B3AB
triadic
#40B372 #7240B3 #B37240
tetradic
#40B372 #4047B3 #B34081 #B3AB40
square
#40B372 #4047B3 #B34081 #B3AB40
split-complementary
#40B372 #AB40B3 #B34047
monochromatic
#205939 #308655 #40B372 #67C992 #94D9B2

Accessibility & contrast

On white

2.66
#40B372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#40B372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B372
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B372#FFFFFF#000000##000000
##40B3721.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56E
Deuteranopia (green-blind)
#A39B76
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b372;
/* rgb */ color: rgb(64, 179, 114);
/* oklch */ color: oklch(68.5% 0.141 154.9);
Tailwind
colors: {
  custom: {
    50: '#81cb9b',
    500: '#40b372',
    950: '#000000',
  },
}
SCSS
$custom: #40b372;
$custom-light: #81cb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b372",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 114
  },
  "hsl": {
    "h": 146.087,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68537,
    "c": 0.14142,
    "h": 154.9
  },
  "luminance": 0.34545
}

Semantic roles & 50–950 ramp

primary
#40B372
secondary
#C48AAB
accent
#519DD7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B372

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

Preview Lab → · Contrast checker → · Palette generator →

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