#40AA4A#40AA4A

#40AA4A is a light, vivid green. Relative luminance 0.303; OKLCH L 65.5% C 0.166 H 145.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#40AA4A
RGBrgb(64, 170, 74)
HSLhsl(126, 45%, 46%)
HSVhsv(126, 62%, 67%)
CMYKcmyk(62.4%, 0%, 56.5%, 33.3%)
CIE-LABlab(61.94, -50.29, 40.12)
CIE-LCHlch(61.94, 64.33, 141.42°)
OKLaboklab(65.5% -0.1362 0.0955)
OKLCHoklch(65.5% 0.166 145)
XYZxyz(17.7240, 30.3321, 11.3979)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA4A #AA40A0
analogous
#6BAA40 #40AA4A #40AA7F
triadic
#40AA4A #4A40AA #AA4A40
tetradic
#40AA4A #406BAA #AA40A0 #AA7F40
square
#40AA4A #406BAA #AA40A0 #AA7F40
split-complementary
#40AA4A #7F40AA #AA406B
monochromatic
#1F5123 #2F7E37 #40AA4A #63C46C #8FD596

Accessibility & contrast

On white

2.97
#40AA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#40AA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA4A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA4A#FFFFFF#000000##000000
##40AA4A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B41
Deuteranopia (green-blind)
#A09251
Tritanopia (blue-blind)
#28A695
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa4a;
/* rgb */ color: rgb(64, 170, 74);
/* oklch */ color: oklch(65.5% 0.166 145.0);
Tailwind
colors: {
  custom: {
    50: '#81c47f',
    500: '#40aa4a',
    950: '#000000',
  },
}
SCSS
$custom: #40aa4a;
$custom-light: #81c47f;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa4a",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 74
  },
  "hsl": {
    "h": 125.66,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.16632,
    "h": 145
  },
  "luminance": 0.30334
}

Semantic roles & 50–950 ramp

primary
#40AA4A
secondary
#C086BB
accent
#53C9D5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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