#40A62E#40A62E

#40A62E is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.183 H 140.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#40A62E
RGBrgb(64, 166, 46)
HSLhsl(111, 57%, 42%)
HSVhsv(111, 72%, 65%)
CMYKcmyk(61.4%, 0%, 72.3%, 34.9%)
CIE-LABlab(60.39, -51.80, 50.68)
CIE-LCHlch(60.39, 72.47, 135.63°)
OKLaboklab(64.14% -0.1417 0.1151)
OKLCHoklch(64.14% 0.183 140.9)
XYZxyz(16.2429, 28.5582, 7.2405)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A62E #942EA6
analogous
#7CA62E #40A62E #2EA658
triadic
#40A62E #2E40A6 #A62E40
tetradic
#40A62E #2E7CA6 #942EA6 #A6582E
square
#40A62E #2E7CA6 #942EA6 #A6582E
split-complementary
#40A62E #582EA6 #A62E7C
monochromatic
#1B4613 #2E7621 #40A62E #5ACC46 #84D976

Accessibility & contrast

On white

3.13
#40A62E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#40A62E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A62E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A62E#FFFFFF#000000##000000
##40A62E1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971A
Deuteranopia (green-blind)
#9E8E3A
Tritanopia (blue-blind)
#31A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a62e;
/* rgb */ color: rgb(64, 166, 46);
/* oklch */ color: oklch(64.1% 0.183 140.9);
Tailwind
colors: {
  custom: {
    50: '#81c16e',
    500: '#40a62e',
    950: '#000000',
  },
}
SCSS
$custom: #40a62e;
$custom-light: #81c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a62e",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 111,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6414,
    "c": 0.18251,
    "h": 140.9
  },
  "luminance": 0.2856
}

Semantic roles & 50–950 ramp

primary
#40A62E
secondary
#B46FC1
accent
#48E0C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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