#40A41A#40A41A

#40A41A is a light, vivid green. Relative luminance 0.277; OKLCH L 63.5% C 0.190 H 139.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#40A41A
RGBrgb(64, 164, 26)
HSLhsl(103, 73%, 37%)
HSVhsv(103, 84%, 64%)
CMYKcmyk(61%, 0%, 84.1%, 35.7%)
CIE-LABlab(59.63, -52.38, 56.44)
CIE-LCHlch(59.63, 77.00, 132.86°)
OKLaboklab(63.48% -0.1443 0.1243)
OKLCHoklch(63.48% 0.19 139.3)
XYZxyz(15.5756, 27.7141, 5.5056)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A41A #7E1AA4
analogous
#85A41A #40A41A #1AA439
triadic
#40A41A #1A40A4 #A41A40
tetradic
#40A41A #1A85A4 #7E1AA4 #A4391A
square
#40A41A #1A85A4 #7E1AA4 #A4391A
split-complementary
#40A41A #391AA4 #A41A85
monochromatic
#173A09 #2B6F12 #40A41A #55D922 #7CE454

Accessibility & contrast

On white

3.21
#40A41A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#40A41A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A41A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A41A#FFFFFF#000000##000000
##40A41A1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#349E8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a41a;
/* rgb */ color: rgb(64, 164, 26);
/* oklch */ color: oklch(63.5% 0.190 139.3);
Tailwind
colors: {
  custom: {
    50: '#82c065',
    500: '#40a41a',
    950: '#000000',
  },
}
SCSS
$custom: #40a41a;
$custom-light: #82c065;
$custom-dark: #000000;
JSON
{
  "hex": "#40a41a",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 26
  },
  "hsl": {
    "h": 103.478,
    "s": 72.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63476,
    "c": 0.19043,
    "h": 139.3
  },
  "luminance": 0.27715
}

Semantic roles & 50–950 ramp

primary
#40A41A
secondary
#A753C7
accent
#38EFBD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A41A

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

Preview Lab → · Contrast checker → · Palette generator →

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