#40AA2E#40AA2E

#40AA2E is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.187 H 141.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#40AA2E
RGBrgb(64, 170, 46)
HSLhsl(111, 57%, 42%)
HSVhsv(111, 73%, 67%)
CMYKcmyk(62.4%, 0%, 72.9%, 33.3%)
CIE-LABlab(61.68, -53.24, 52.00)
CIE-LCHlch(61.68, 74.42, 135.67°)
OKLaboklab(65.21% -0.1456 0.1178)
OKLCHoklch(65.21% 0.187 141)
XYZxyz(16.9814, 30.0351, 7.4867)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA2E #982EAA
analogous
#7EAA2E #40AA2E #2EAA5A
triadic
#40AA2E #2E40AA #AA2E40
tetradic
#40AA2E #2E7EAA #982EAA #AA5A2E
square
#40AA2E #2E7EAA #982EAA #AA5A2E
split-complementary
#40AA2E #5A2EAA #AA2E7E
monochromatic
#1C4A14 #2E7A21 #40AA2E #5BCD48 #86DA78

Accessibility & contrast

On white

3.00
#40AA2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#40AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA2E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA2E#FFFFFF#000000##000000
##40AA2E1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#A1923B
Tritanopia (blue-blind)
#2FA592
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa2e;
/* rgb */ color: rgb(64, 170, 46);
/* oklch */ color: oklch(65.2% 0.187 141.0);
Tailwind
colors: {
  custom: {
    50: '#82c46f',
    500: '#40aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #40aa2e;
$custom-light: #82c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa2e",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 111.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.18727,
    "h": 141
  },
  "luminance": 0.30037
}

Semantic roles & 50–950 ramp

primary
#40AA2E
secondary
#B771C3
accent
#47E1CA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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