#40A034#40A034

#40A034 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.6% C 0.171 H 141.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#40A034
RGBrgb(64, 160, 52)
HSLhsl(113, 51%, 42%)
HSVhsv(113, 68%, 63%)
CMYKcmyk(60%, 0%, 67.5%, 37.3%)
CIE-LABlab(58.49, -49.05, 46.25)
CIE-LCHlch(58.49, 67.42, 136.68°)
OKLaboklab(62.58% -0.1339 0.1065)
OKLCHoklch(62.58% 0.171 141.5)
XYZxyz(15.3042, 26.4781, 7.5524)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A034 #9434A0
analogous
#76A034 #40A034 #34A05E
triadic
#40A034 #3440A0 #A03440
tetradic
#40A034 #3476A0 #9434A0 #A05E34
square
#40A034 #3476A0 #9434A0 #A05E34
split-complementary
#40A034 #5E34A0 #A03476
monochromatic
#1B4416 #2E7225 #40A034 #5AC54C #84D47A

Accessibility & contrast

On white

3.34
#40A034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#40A034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A034
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A034#FFFFFF#000000##000000
##40A0341.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49226
Deuteranopia (green-blind)
#988A3E
Tritanopia (blue-blind)
#319B8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a034;
/* rgb */ color: rgb(64, 160, 52);
/* oklch */ color: oklch(62.6% 0.171 141.5);
Tailwind
colors: {
  custom: {
    50: '#80bd71',
    500: '#40a034',
    950: '#000000',
  },
}
SCSS
$custom: #40a034;
$custom-light: #80bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#40a034",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 113.333,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62584,
    "c": 0.1711,
    "h": 141.5
  },
  "luminance": 0.2648
}

Semantic roles & 50–950 ramp

primary
#40A034
secondary
#B473BD
accent
#4DDACB
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A034

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

Preview Lab → · Contrast checker → · Palette generator →

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