#40AE2D#40AE2D

#40AE2D is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.193 H 141.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40AE2D
RGBrgb(64, 174, 45)
HSLhsl(111, 59%, 43%)
HSVhsv(111, 74%, 68%)
CMYKcmyk(63.2%, 0%, 74.1%, 31.8%)
CIE-LABlab(62.97, -54.73, 53.67)
CIE-LCHlch(62.97, 76.66, 135.56°)
OKLaboklab(66.27% -0.1497 0.1212)
OKLCHoklch(66.27% 0.193 141)
XYZxyz(17.7232, 31.5498, 7.6378)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE2D #9B2DAE
analogous
#80AE2D #40AE2D #2DAE5B
triadic
#40AE2D #2D40AE #AE2D40
tetradic
#40AE2D #2D80AE #9B2DAE #AE5B2D
square
#40AE2D #2D80AE #9B2DAE #AE5B2D
split-complementary
#40AE2D #5B2DAE #AE2D80
monochromatic
#1C4D14 #2E7D20 #40AE2D #5CD048 #88DC79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AE2D#FFFFFF#000000##000000
##40AE2D1.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)
#B29E14
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#2EA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae2d;
/* rgb */ color: rgb(64, 174, 45);
/* oklch */ color: oklch(66.3% 0.193 141.0);
Tailwind
colors: {
  custom: {
    50: '#83c76f',
    500: '#40ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #40ae2d;
$custom-light: #83c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae2d",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 111.163,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66271,
    "c": 0.19256,
    "h": 141
  },
  "luminance": 0.31552
}

Semantic roles & 50–950 ramp

primary
#40AE2D
secondary
#B872C4
accent
#46E2CB
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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