#40AA2A#40AA2A

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

Color values

HEX#40AA2A
RGBrgb(64, 170, 42)
HSLhsl(110, 60%, 42%)
HSVhsv(110, 75%, 67%)
CMYKcmyk(62.4%, 0%, 75.3%, 33.3%)
CIE-LABlab(61.66, -53.54, 53.43)
CIE-LCHlch(61.66, 75.64, 135.06°)
OKLaboklab(65.18% -0.1466 0.1203)
OKLCHoklch(65.18% 0.19 140.6)
XYZxyz(16.9062, 30.0050, 7.0907)
Luminance0.3001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA2A #942AAA
analogous
#80AA2A #40AA2A #2AAA54
triadic
#40AA2A #2A40AA #AA2A40
tetradic
#40AA2A #2A80AA #942AAA #AA542A
square
#40AA2A #2A80AA #942AAA #AA542A
split-complementary
#40AA2A #542AAA #AA2A80
monochromatic
#1B4812 #2E791E #40AA2A #5AD041 #84DC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AA2A#FFFFFF#000000##000000
##40AA2A1.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)
#AF9A0F
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#30A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa2a;
/* rgb */ color: rgb(64, 170, 42);
/* oklch */ color: oklch(65.2% 0.190 140.6);
Tailwind
colors: {
  custom: {
    50: '#82c46d',
    500: '#40aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #40aa2a;
$custom-light: #82c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa2a",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 109.688,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.18962,
    "h": 140.6
  },
  "luminance": 0.30007
}

Semantic roles & 50–950 ramp

primary
#40AA2A
secondary
#B46CC3
accent
#44E4C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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