#40A71A#40A71A

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

Color values

HEX#40A71A
RGBrgb(64, 167, 26)
HSLhsl(104, 73%, 38%)
HSVhsv(104, 84%, 65%)
CMYKcmyk(61.7%, 0%, 84.4%, 34.5%)
CIE-LABlab(60.61, -53.44, 57.32)
CIE-LCHlch(60.61, 78.36, 132.99°)
OKLaboklab(64.28% -0.1471 0.1261)
OKLCHoklch(64.28% 0.194 139.4)
XYZxyz(16.1188, 28.8005, 5.6867)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A71A #811AA7
analogous
#86A71A #40A71A #1AA73B
triadic
#40A71A #1A40A7 #A71A40
tetradic
#40A71A #1A86A7 #811AA7 #A73B1A
square
#40A71A #1A86A7 #811AA7 #A73B1A
split-complementary
#40A71A #3B1AA7 #A71A86
monochromatic
#173D0A #2C7212 #40A71A #54DC22 #7DE557

Accessibility & contrast

On white

3.11
#40A71A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A71A#FFFFFF#000000##000000
##40A71A1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a71a;
/* rgb */ color: rgb(64, 167, 26);
/* oklch */ color: oklch(64.3% 0.194 139.4);
Tailwind
colors: {
  custom: {
    50: '#82c265',
    500: '#40a71a',
    950: '#000000',
  },
}
SCSS
$custom: #40a71a;
$custom-light: #82c265;
$custom-dark: #000000;
JSON
{
  "hex": "#40a71a",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 26
  },
  "hsl": {
    "h": 103.83,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.1938,
    "h": 139.4
  },
  "luminance": 0.28802
}

Semantic roles & 50–950 ramp

primary
#40A71A
secondary
#A955C8
accent
#38F0BE
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A71A

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

Preview Lab → · Contrast checker → · Palette generator →

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