#40B34D#40B34D

#40B34D is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.175 H 145.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#40B34D
RGBrgb(64, 179, 77)
HSLhsl(127, 47%, 48%)
HSVhsv(127, 64%, 70%)
CMYKcmyk(64.2%, 0%, 57%, 29.8%)
CIE-LABlab(64.85, -53.25, 42.14)
CIE-LCHlch(64.85, 67.90, 141.64°)
OKLaboklab(67.92% -0.1441 0.1001)
OKLCHoklch(67.92% 0.175 145.2)
XYZxyz(19.5728, 33.8640, 12.5247)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B34D #B340A6
analogous
#6CB340 #40B34D #40B387
triadic
#40B34D #4D40B3 #B34D40
tetradic
#40B34D #406CB3 #B340A6 #B38740
square
#40B34D #406CB3 #B340A6 #B38740
split-complementary
#40B34D #8740B3 #B3406C
monochromatic
#205926 #30863A #40B34D #67C972 #94D99C

Accessibility & contrast

On white

2.70
#40B34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#40B34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B34D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B34D#FFFFFF#000000##000000
##40B34D1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A343
Deuteranopia (green-blind)
#A89A55
Tritanopia (blue-blind)
#23AF9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b34d;
/* rgb */ color: rgb(64, 179, 77);
/* oklch */ color: oklch(67.9% 0.175 145.2);
Tailwind
colors: {
  custom: {
    50: '#82cb82',
    500: '#40b34d',
    950: '#000000',
  },
}
SCSS
$custom: #40b34d;
$custom-light: #82cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#40b34d",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 126.783,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6792,
    "c": 0.17542,
    "h": 145.2
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#40B34D
secondary
#C48ABE
accent
#51C8D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B34D

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

Preview Lab → · Contrast checker → · Palette generator →

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