#40B672#40B672

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

Color values

HEX#40B672
RGBrgb(64, 182, 114)
HSLhsl(145, 48%, 48%)
HSVhsv(145, 65%, 71%)
CMYKcmyk(64.8%, 0%, 37.4%, 28.6%)
CIE-LABlab(66.33, -48.47, 25.20)
CIE-LCHlch(66.33, 54.62, 152.53°)
OKLaboklab(69.31% -0.1312 0.0631)
OKLCHoklch(69.31% 0.146 154.3)
XYZxyz(21.8777, 35.7585, 21.6654)
Luminance0.3576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B672 #B64084
analogous
#49B640 #40B672 #40B6AD
triadic
#40B672 #7240B6 #B67240
tetradic
#40B672 #4049B6 #B64084 #B6AD40
square
#40B672 #4049B6 #B64084 #B6AD40
split-complementary
#40B672 #AD40B6 #B64049
monochromatic
#205B39 #308956 #40B672 #69CA92 #96DAB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B672#FFFFFF#000000##000000
##40B6721.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)
#B6A86D
Deuteranopia (green-blind)
#A69D76
Tritanopia (blue-blind)
#00B4A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b672;
/* rgb */ color: rgb(64, 182, 114);
/* oklch */ color: oklch(69.3% 0.146 154.3);
Tailwind
colors: {
  custom: {
    50: '#82cd9b',
    500: '#40b672',
    950: '#000000',
  },
}
SCSS
$custom: #40b672;
$custom-light: #82cd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b672",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 114
  },
  "hsl": {
    "h": 145.424,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69313,
    "c": 0.14555,
    "h": 154.3
  },
  "luminance": 0.35761
}

Semantic roles & 50–950 ramp

primary
#40B672
secondary
#C68CAD
accent
#509ED8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B672

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

Preview Lab → · Contrast checker → · Palette generator →

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