#40AA4E#40AA4E

#40AA4E is a light, vivid green. Relative luminance 0.304; OKLCH L 65.6% C 0.163 H 145.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#40AA4E
RGBrgb(64, 170, 78)
HSLhsl(128, 45%, 46%)
HSVhsv(128, 62%, 67%)
CMYKcmyk(62.4%, 0%, 54.1%, 33.3%)
CIE-LABlab(61.99, -49.75, 38.23)
CIE-LCHlch(61.99, 62.74, 142.46°)
OKLaboklab(65.56% -0.1346 0.0916)
OKLCHoklch(65.56% 0.163 145.8)
XYZxyz(17.8631, 30.3878, 12.1303)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA4E #AA409C
analogous
#67AA40 #40AA4E #40AA83
triadic
#40AA4E #4E40AA #AA4E40
tetradic
#40AA4E #4067AA #AA409C #AA8340
square
#40AA4E #4067AA #AA409C #AA8340
split-complementary
#40AA4E #8340AA #AA4067
monochromatic
#1F5125 #2F7E3A #40AA4E #63C470 #8FD599

Accessibility & contrast

On white

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

On black

7.08
#40AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA4E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA4E#FFFFFF#000000##000000
##40AA4E1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B46
Deuteranopia (green-blind)
#9F9255
Tritanopia (blue-blind)
#27A695
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa4e;
/* rgb */ color: rgb(64, 170, 78);
/* oklch */ color: oklch(65.6% 0.163 145.8);
Tailwind
colors: {
  custom: {
    50: '#80c482',
    500: '#40aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #40aa4e;
$custom-light: #80c482;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa4e",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 127.925,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65558,
    "c": 0.16279,
    "h": 145.8
  },
  "luminance": 0.30389
}

Semantic roles & 50–950 ramp

primary
#40AA4E
secondary
#C086B8
accent
#53C4D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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