#40A62B#40A62B

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

Color values

HEX#40A62B
RGBrgb(64, 166, 43)
HSLhsl(110, 59%, 41%)
HSVhsv(110, 74%, 65%)
CMYKcmyk(61.4%, 0%, 74.1%, 34.9%)
CIE-LABlab(60.37, -52.04, 51.78)
CIE-LCHlch(60.37, 73.41, 135.14°)
OKLaboklab(64.12% -0.1425 0.117)
OKLCHoklch(64.12% 0.184 140.6)
XYZxyz(16.1858, 28.5353, 6.9399)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A62B #912BA6
analogous
#7DA62B #40A62B #2BA653
triadic
#40A62B #2B40A6 #A62B40
tetradic
#40A62B #2B7DA6 #912BA6 #A6532B
square
#40A62B #2B7DA6 #912BA6 #A6532B
split-complementary
#40A62B #532BA6 #A62B7D
monochromatic
#1B4512 #2D751E #40A62B #59CE41 #83DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A62B#FFFFFF#000000##000000
##40A62B1.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)
#AA9714
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#31A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a62b;
/* rgb */ color: rgb(64, 166, 43);
/* oklch */ color: oklch(64.1% 0.184 140.6);
Tailwind
colors: {
  custom: {
    50: '#81c16d',
    500: '#40a62b',
    950: '#000000',
  },
}
SCSS
$custom: #40a62b;
$custom-light: #81c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a62b",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 109.756,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.18435,
    "h": 140.6
  },
  "luminance": 0.28537
}

Semantic roles & 50–950 ramp

primary
#40A62B
secondary
#B36BC1
accent
#46E2C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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