#40B170#40B170

#40B170 is a light, vivid green. Relative luminance 0.337; OKLCH L 68.0% C 0.141 H 154.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#40B170
RGBrgb(64, 177, 112)
HSLhsl(145, 47%, 47%)
HSVhsv(145, 64%, 69%)
CMYKcmyk(63.8%, 0%, 36.7%, 30.6%)
CIE-LABlab(64.73, -46.84, 24.11)
CIE-LCHlch(64.73, 52.68, 152.76°)
OKLaboklab(67.98% -0.1269 0.0604)
OKLCHoklch(67.98% 0.141 154.5)
XYZxyz(20.7593, 33.7020, 20.7372)
Luminance0.3370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B170 #B14081
analogous
#48B140 #40B170 #40B1A9
triadic
#40B170 #7040B1 #B17040
tetradic
#40B170 #4048B1 #B14081 #B1A940
square
#40B170 #4048B1 #B14081 #B1A940
split-complementary
#40B170 #A940B1 #B14048
monochromatic
#1F5737 #308454 #40B170 #66C890 #93D8B1

Accessibility & contrast

On white

2.71
#40B170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#40B170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B170
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B170#FFFFFF#000000##000000
##40B1701.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A36C
Deuteranopia (green-blind)
#A29974
Tritanopia (blue-blind)
#05AFA0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b170;
/* rgb */ color: rgb(64, 177, 112);
/* oklch */ color: oklch(68.0% 0.141 154.5);
Tailwind
colors: {
  custom: {
    50: '#81c999',
    500: '#40b170',
    950: '#000000',
  },
}
SCSS
$custom: #40b170;
$custom-light: #81c999;
$custom-dark: #000000;
JSON
{
  "hex": "#40b170",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 112
  },
  "hsl": {
    "h": 145.487,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67979,
    "c": 0.14053,
    "h": 154.5
  },
  "luminance": 0.33704
}

Semantic roles & 50–950 ramp

primary
#40B170
secondary
#C389AB
accent
#519ED7
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B170

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

Preview Lab → · Contrast checker → · Palette generator →

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