#40A62F#40A62F

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

Color values

HEX#40A62F
RGBrgb(64, 166, 47)
HSLhsl(111, 56%, 42%)
HSVhsv(111, 72%, 65%)
CMYKcmyk(61.4%, 0%, 71.7%, 34.9%)
CIE-LABlab(60.40, -51.72, 50.30)
CIE-LCHlch(60.40, 72.14, 135.79°)
OKLaboklab(64.15% -0.1414 0.1144)
OKLCHoklch(64.15% 0.182 141)
XYZxyz(16.2629, 28.5661, 7.3456)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A62F #952FA6
analogous
#7CA62F #40A62F #2FA65A
triadic
#40A62F #2F40A6 #A62F40
tetradic
#40A62F #2F7CA6 #952FA6 #A65A2F
square
#40A62F #2F7CA6 #952FA6 #A65A2F
split-complementary
#40A62F #5A2FA6 #A62F7C
monochromatic
#1B4714 #2E7621 #40A62F #5ACB47 #85D877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A62F#FFFFFF#000000##000000
##40A62F1.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)
#AA971C
Deuteranopia (green-blind)
#9E8E3B
Tritanopia (blue-blind)
#30A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a62f;
/* rgb */ color: rgb(64, 166, 47);
/* oklch */ color: oklch(64.1% 0.182 141.0);
Tailwind
colors: {
  custom: {
    50: '#81c16f',
    500: '#40a62f',
    950: '#000000',
  },
}
SCSS
$custom: #40a62f;
$custom-light: #81c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a62f",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 111.429,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64148,
    "c": 0.18188,
    "h": 141
  },
  "luminance": 0.28568
}

Semantic roles & 50–950 ramp

primary
#40A62F
secondary
#B570C1
accent
#49DFCA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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