#40A534#40A534

#40A534 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.9% C 0.177 H 141.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#40A534
RGBrgb(64, 165, 52)
HSLhsl(114, 52%, 43%)
HSVhsv(114, 68%, 65%)
CMYKcmyk(61.2%, 0%, 68.5%, 35.3%)
CIE-LABlab(60.11, -50.91, 48.00)
CIE-LCHlch(60.11, 69.97, 136.69°)
OKLaboklab(63.92% -0.1389 0.1102)
OKLCHoklch(63.92% 0.177 141.6)
XYZxyz(16.1885, 28.2467, 7.8472)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A534 #9934A5
analogous
#79A534 #40A534 #34A560
triadic
#40A534 #3440A5 #A53440
tetradic
#40A534 #3479A5 #9934A5 #A56034
square
#40A534 #3479A5 #9934A5 #A56034
split-complementary
#40A534 #6034A5 #A53479
monochromatic
#1C4817 #2E7625 #40A534 #5CC74F #87D67D

Accessibility & contrast

On white

3.16
#40A534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#40A534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A534
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A534#FFFFFF#000000##000000
##40A5341.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99624
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#30A08E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a534;
/* rgb */ color: rgb(64, 165, 52);
/* oklch */ color: oklch(63.9% 0.177 141.6);
Tailwind
colors: {
  custom: {
    50: '#81c171',
    500: '#40a534',
    950: '#000000',
  },
}
SCSS
$custom: #40a534;
$custom-light: #81c171;
$custom-dark: #000000;
JSON
{
  "hex": "#40a534",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 113.628,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63924,
    "c": 0.17732,
    "h": 141.6
  },
  "luminance": 0.28248
}

Semantic roles & 50–950 ramp

primary
#40A534
secondary
#B776BF
accent
#4CDCCC
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A534

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

Preview Lab → · Contrast checker → · Palette generator →

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