#40AA2F#40AA2F

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

Color values

HEX#40AA2F
RGBrgb(64, 170, 47)
HSLhsl(112, 57%, 43%)
HSVhsv(112, 72%, 67%)
CMYKcmyk(62.4%, 0%, 72.4%, 33.3%)
CIE-LABlab(61.69, -53.16, 51.63)
CIE-LCHlch(61.69, 74.11, 135.83°)
OKLaboklab(65.22% -0.1453 0.1172)
OKLCHoklch(65.22% 0.187 141.1)
XYZxyz(17.0013, 30.0431, 7.5917)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA2F #992FAA
analogous
#7EAA2F #40AA2F #2FAA5B
triadic
#40AA2F #2F40AA #AA2F40
tetradic
#40AA2F #2F7EAA #992FAA #AA5B2F
square
#40AA2F #2F7EAA #992FAA #AA5B2F
split-complementary
#40AA2F #5B2FAA #AA2F7E
monochromatic
#1C4A14 #2E7A22 #40AA2F #5CCD49 #87DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AA2F#FFFFFF#000000##000000
##40AA2F1.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)
#AE9A1A
Deuteranopia (green-blind)
#A1923B
Tritanopia (blue-blind)
#2FA592
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa2f;
/* rgb */ color: rgb(64, 170, 47);
/* oklch */ color: oklch(65.2% 0.187 141.1);
Tailwind
colors: {
  custom: {
    50: '#82c46f',
    500: '#40aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #40aa2f;
$custom-light: #82c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa2f",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 111.707,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.18666,
    "h": 141.1
  },
  "luminance": 0.30045
}

Semantic roles & 50–950 ramp

primary
#40AA2F
secondary
#B772C2
accent
#48E0CB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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