#40A11A#40A11A

#40A11A is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.187 H 139.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#40A11A
RGBrgb(64, 161, 26)
HSLhsl(103, 72%, 37%)
HSVhsv(103, 84%, 63%)
CMYKcmyk(60.2%, 0%, 83.9%, 36.9%)
CIE-LABlab(58.65, -51.30, 55.55)
CIE-LCHlch(58.65, 75.62, 132.72°)
OKLaboklab(62.67% -0.1414 0.1224)
OKLCHoklch(62.67% 0.187 139.1)
XYZxyz(15.0450, 26.6530, 5.3288)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A11A #7B1AA1
analogous
#84A11A #40A11A #1AA137
triadic
#40A11A #1A40A1 #A11A40
tetradic
#40A11A #1A84A1 #7B1AA1 #A1371A
square
#40A11A #1A84A1 #7B1AA1 #A1371A
split-complementary
#40A11A #371AA1 #A11A84
monochromatic
#163809 #2B6C11 #40A11A #55D623 #7BE352

Accessibility & contrast

On white

3.32
#40A11A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#40A11A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A11A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A11A#FFFFFF#000000##000000
##40A11A1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#359B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a11a;
/* rgb */ color: rgb(64, 161, 26);
/* oklch */ color: oklch(62.7% 0.187 139.1);
Tailwind
colors: {
  custom: {
    50: '#81be64',
    500: '#40a11a',
    950: '#000000',
  },
}
SCSS
$custom: #40a11a;
$custom-light: #81be64;
$custom-dark: #000000;
JSON
{
  "hex": "#40a11a",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 103.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.18705,
    "h": 139.1
  },
  "luminance": 0.26654
}

Semantic roles & 50–950 ramp

primary
#40A11A
secondary
#A551C6
accent
#39EFBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A11A

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

Preview Lab → · Contrast checker → · Palette generator →

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