#40A047#40A047

#40A047 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.156 H 144.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#40A047
RGBrgb(64, 160, 71)
HSLhsl(124, 43%, 44%)
HSVhsv(124, 60%, 63%)
CMYKcmyk(60%, 0%, 55.6%, 37.3%)
CIE-LABlab(58.68, -46.86, 37.70)
CIE-LCHlch(58.68, 60.14, 141.18°)
OKLaboklab(62.81% -0.127 0.09)
OKLCHoklch(62.81% 0.156 144.7)
XYZxyz(15.8215, 26.6851, 10.2770)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A047 #A04099
analogous
#69A040 #40A047 #40A077
triadic
#40A047 #4740A0 #A04740
tetradic
#40A047 #4069A0 #A04099 #A07740
square
#40A047 #4069A0 #A04099 #A07740
split-complementary
#40A047 #7740A0 #A04069
monochromatic
#1D4920 #2F7434 #40A047 #5EBF65 #8AD08F

Accessibility & contrast

On white

3.31
#40A047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#40A047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A047
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A047#FFFFFF#000000##000000
##40A0471.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3923F
Deuteranopia (green-blind)
#968A4E
Tritanopia (blue-blind)
#2D9C8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a047;
/* rgb */ color: rgb(64, 160, 71);
/* oklch */ color: oklch(62.8% 0.156 144.7);
Tailwind
colors: {
  custom: {
    50: '#7fbd7d',
    500: '#40a047',
    950: '#000000',
  },
}
SCSS
$custom: #40a047;
$custom-light: #7fbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a047",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 124.375,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.15564,
    "h": 144.7
  },
  "luminance": 0.26687
}

Semantic roles & 50–950 ramp

primary
#40A047
secondary
#BB81B7
accent
#55C9D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A047

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

Preview Lab → · Contrast checker → · Palette generator →

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