#40AE2A#40AE2A

#40AE2A is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.194 H 140.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40AE2A
RGBrgb(64, 174, 42)
HSLhsl(110, 61%, 42%)
HSVhsv(110, 76%, 68%)
CMYKcmyk(63.2%, 0%, 75.9%, 31.8%)
CIE-LABlab(62.95, -54.95, 54.71)
CIE-LCHlch(62.95, 77.54, 135.13°)
OKLaboklab(66.25% -0.1504 0.1229)
OKLCHoklch(66.25% 0.194 140.7)
XYZxyz(17.6675, 31.5276, 7.3444)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE2A #982AAE
analogous
#82AE2A #40AE2A #2AAE56
triadic
#40AE2A #2A40AE #AE2A40
tetradic
#40AE2A #2A82AE #982AAE #AE562A
square
#40AE2A #2A82AE #982AAE #AE562A
split-complementary
#40AE2A #562AAE #AE2A82
monochromatic
#1C4B12 #2E7D1E #40AE2A #5BD243 #86DE75

Accessibility & contrast

On white

2.87
#40AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#40AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE2A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE2A#FFFFFF#000000##000000
##40AE2A1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0C
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#2EA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae2a;
/* rgb */ color: rgb(64, 174, 42);
/* oklch */ color: oklch(66.2% 0.194 140.7);
Tailwind
colors: {
  custom: {
    50: '#83c76d',
    500: '#40ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #40ae2a;
$custom-light: #83c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae2a",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 110,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66249,
    "c": 0.19426,
    "h": 140.7
  },
  "luminance": 0.31529
}

Semantic roles & 50–950 ramp

primary
#40AE2A
secondary
#B76FC5
accent
#44E4C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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