#40A71E#40A71E

#40A71E is a light, vivid green. Relative luminance 0.288; OKLCH L 64.3% C 0.192 H 139.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#40A71E
RGBrgb(64, 167, 30)
HSLhsl(105, 70%, 39%)
HSVhsv(105, 82%, 65%)
CMYKcmyk(61.7%, 0%, 82%, 34.5%)
CIE-LABlab(60.62, -53.24, 56.26)
CIE-LCHlch(60.62, 77.45, 133.42°)
OKLaboklab(64.3% -0.1464 0.1245)
OKLCHoklch(64.3% 0.192 139.6)
XYZxyz(16.1667, 28.8197, 5.9388)
Luminance0.2882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A71E #851EA7
analogous
#84A71E #40A71E #1EA740
triadic
#40A71E #1E40A7 #A71E40
tetradic
#40A71E #1E84A7 #851EA7 #A7401E
square
#40A71E #1E84A7 #851EA7 #A7401E
split-complementary
#40A71E #401EA7 #A71E84
monochromatic
#183F0B #2C7315 #40A71E #55D92A #7EE25D

Accessibility & contrast

On white

3.10
#40A71E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#40A71E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A71E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A71E#FFFFFF#000000##000000
##40A71E1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#32A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a71e;
/* rgb */ color: rgb(64, 167, 30);
/* oklch */ color: oklch(64.3% 0.192 139.6);
Tailwind
colors: {
  custom: {
    50: '#82c267',
    500: '#40a71e',
    950: '#000000',
  },
}
SCSS
$custom: #40a71e;
$custom-light: #82c267;
$custom-dark: #000000;
JSON
{
  "hex": "#40a71e",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 105.109,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.19217,
    "h": 139.6
  },
  "luminance": 0.28821
}

Semantic roles & 50–950 ramp

primary
#40A71E
secondary
#AC5BC6
accent
#3BECC0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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