#40AA2C#40AA2C

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

Color values

HEX#40AA2C
RGBrgb(64, 170, 44)
HSLhsl(110, 59%, 42%)
HSVhsv(110, 74%, 67%)
CMYKcmyk(62.4%, 0%, 74.1%, 33.3%)
CIE-LABlab(61.67, -53.39, 52.73)
CIE-LCHlch(61.67, 75.04, 135.36°)
OKLaboklab(65.2% -0.1461 0.1191)
OKLCHoklch(65.2% 0.188 140.8)
XYZxyz(16.9429, 30.0197, 7.2839)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA2C #962CAA
analogous
#7FAA2C #40AA2C #2CAA57
triadic
#40AA2C #2C40AA #AA2C40
tetradic
#40AA2C #2C7FAA #962CAA #AA572C
square
#40AA2C #2C7FAA #962CAA #AA572C
split-complementary
#40AA2C #572CAA #AA2C7F
monochromatic
#1B4913 #2E791F #40AA2C #5ACF44 #85DB75

Accessibility & contrast

On white

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

On black

7.00
#40AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA2C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA2C#FFFFFF#000000##000000
##40AA2C1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#A29239
Tritanopia (blue-blind)
#30A592
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa2c;
/* rgb */ color: rgb(64, 170, 44);
/* oklch */ color: oklch(65.2% 0.188 140.8);
Tailwind
colors: {
  custom: {
    50: '#82c46e',
    500: '#40aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #40aa2c;
$custom-light: #82c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa2c",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 110.476,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.18847,
    "h": 140.8
  },
  "luminance": 0.30021
}

Semantic roles & 50–950 ramp

primary
#40AA2C
secondary
#B66FC3
accent
#46E2C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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