#40A11E#40A11E

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

Color values

HEX#40A11E
RGBrgb(64, 161, 30)
HSLhsl(104, 69%, 37%)
HSVhsv(104, 81%, 63%)
CMYKcmyk(60.2%, 0%, 81.4%, 36.9%)
CIE-LABlab(58.67, -51.09, 54.45)
CIE-LCHlch(58.67, 74.67, 133.18°)
OKLaboklab(62.69% -0.1407 0.1207)
OKLCHoklch(62.69% 0.185 139.4)
XYZxyz(15.0929, 26.6721, 5.5809)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A11E #7F1EA1
analogous
#82A11E #40A11E #1EA13D
triadic
#40A11E #1E40A1 #A11E40
tetradic
#40A11E #1E82A1 #7F1EA1 #A13D1E
square
#40A11E #1E82A1 #7F1EA1 #A13D1E
split-complementary
#40A11E #3D1EA1 #A11E82
monochromatic
#173A0B #2B6D14 #40A11E #55D528 #7CE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A11E#FFFFFF#000000##000000
##40A11E1.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)
#9A8A2E
Tritanopia (blue-blind)
#349B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a11e;
/* rgb */ color: rgb(64, 161, 30);
/* oklch */ color: oklch(62.7% 0.185 139.4);
Tailwind
colors: {
  custom: {
    50: '#81be66',
    500: '#40a11e',
    950: '#000000',
  },
}
SCSS
$custom: #40a11e;
$custom-light: #81be66;
$custom-dark: #000000;
JSON
{
  "hex": "#40a11e",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 104.427,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.18533,
    "h": 139.4
  },
  "luminance": 0.26673
}

Semantic roles & 50–950 ramp

primary
#40A11E
secondary
#A857C4
accent
#3CEBBE
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A11E

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

Preview Lab → · Contrast checker → · Palette generator →

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