#40A11C#40A11C

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

Color values

HEX#40A11C
RGBrgb(64, 161, 28)
HSLhsl(104, 70%, 37%)
HSVhsv(104, 83%, 63%)
CMYKcmyk(60.2%, 0%, 82.6%, 36.9%)
CIE-LABlab(58.66, -51.20, 55.02)
CIE-LCHlch(58.66, 75.15, 132.94°)
OKLaboklab(62.68% -0.141 0.1216)
OKLCHoklch(62.68% 0.186 139.2)
XYZxyz(15.0682, 26.6622, 5.4506)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A11C #7D1CA1
analogous
#83A11C #40A11C #1CA13A
triadic
#40A11C #1C40A1 #A11C40
tetradic
#40A11C #1C83A1 #7D1CA1 #A13A1C
square
#40A11C #1C83A1 #7D1CA1 #A13A1C
split-complementary
#40A11C #3A1CA1 #A11C83
monochromatic
#17390A #2B6D13 #40A11C #55D525 #7CE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40a11c;
/* rgb */ color: rgb(64, 161, 28);
/* oklch */ color: oklch(62.7% 0.186 139.2);
Tailwind
colors: {
  custom: {
    50: '#81be65',
    500: '#40a11c',
    950: '#000000',
  },
}
SCSS
$custom: #40a11c;
$custom-light: #81be65;
$custom-dark: #000000;
JSON
{
  "hex": "#40a11c",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 103.759,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62677,
    "c": 0.18621,
    "h": 139.2
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#40A11C
secondary
#A654C5
accent
#3BEDBD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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