#40B379#40B379

#40B379 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.7% C 0.135 H 157.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#40B379
RGBrgb(64, 179, 121)
HSLhsl(150, 47%, 48%)
HSVhsv(150, 64%, 70%)
CMYKcmyk(64.2%, 0%, 32.4%, 29.8%)
CIE-LABlab(65.52, -45.87, 20.34)
CIE-LCHlch(65.52, 50.18, 156.08°)
OKLaboklab(68.69% -0.1248 0.0514)
OKLCHoklch(68.69% 0.135 157.6)
XYZxyz(21.6837, 34.7084, 23.6421)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B379 #B3407A
analogous
#41B340 #40B379 #40B3B2
triadic
#40B379 #7940B3 #B37940
tetradic
#40B379 #4041B3 #B3407A #B3B240
square
#40B379 #4041B3 #B3407A #B3B240
split-complementary
#40B379 #B240B3 #B34041
monochromatic
#20593C #30865B #40B379 #67C998 #94D9B6

Accessibility & contrast

On white

2.64
#40B379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#40B379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B379
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B379#FFFFFF#000000##000000
##40B3791.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A675
Deuteranopia (green-blind)
#A29B7D
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b379;
/* rgb */ color: rgb(64, 179, 121);
/* oklch */ color: oklch(68.7% 0.135 157.6);
Tailwind
colors: {
  custom: {
    50: '#81caa0',
    500: '#40b379',
    950: '#000000',
  },
}
SCSS
$custom: #40b379;
$custom-light: #81caa0;
$custom-dark: #000000;
JSON
{
  "hex": "#40b379",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 121
  },
  "hsl": {
    "h": 149.739,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.13495,
    "h": 157.6
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#40B379
secondary
#C48AA8
accent
#5194D7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B379

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

Preview Lab → · Contrast checker → · Palette generator →

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