#40B370#40B370

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

Color values

HEX#40B370
RGBrgb(64, 179, 112)
HSLhsl(145, 47%, 48%)
HSVhsv(145, 64%, 70%)
CMYKcmyk(64.2%, 0%, 37.4%, 29.8%)
CIE-LABlab(65.36, -47.65, 24.95)
CIE-LCHlch(65.36, 53.79, 152.36°)
OKLaboklab(68.5% -0.129 0.0624)
OKLCHoklch(68.5% 0.143 154.2)
XYZxyz(21.1573, 34.4979, 20.8698)
Luminance0.3450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B370 #B34083
analogous
#4AB340 #40B370 #40B3A9
triadic
#40B370 #7040B3 #B37040
tetradic
#40B370 #404AB3 #B34083 #B3A940
square
#40B370 #404AB3 #B34083 #B3A940
split-complementary
#40B370 #A940B3 #B3404A
monochromatic
#205938 #308654 #40B370 #67C990 #94D9B1

Accessibility & contrast

On white

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

On black

7.90
#40B370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B370
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B370#FFFFFF#000000##000000
##40B3701.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56C
Deuteranopia (green-blind)
#A49A74
Tritanopia (blue-blind)
#03B1A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b370;
/* rgb */ color: rgb(64, 179, 112);
/* oklch */ color: oklch(68.5% 0.143 154.2);
Tailwind
colors: {
  custom: {
    50: '#81cb99',
    500: '#40b370',
    950: '#000000',
  },
}
SCSS
$custom: #40b370;
$custom-light: #81cb99;
$custom-dark: #000000;
JSON
{
  "hex": "#40b370",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 112
  },
  "hsl": {
    "h": 145.043,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.1433,
    "h": 154.2
  },
  "luminance": 0.345
}

Semantic roles & 50–950 ramp

primary
#40B370
secondary
#C48AAC
accent
#519FD7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B370

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

Preview Lab → · Contrast checker → · Palette generator →

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