#40A11B#40A11B

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

Color values

HEX#40A11B
RGBrgb(64, 161, 27)
HSLhsl(103, 71%, 37%)
HSVhsv(103, 83%, 63%)
CMYKcmyk(60.2%, 0%, 83.2%, 36.9%)
CIE-LABlab(58.66, -51.25, 55.29)
CIE-LCHlch(58.66, 75.39, 132.83°)
OKLaboklab(62.67% -0.1412 0.122)
OKLCHoklch(62.67% 0.187 139.2)
XYZxyz(15.0564, 26.6575, 5.3887)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A11B #7C1BA1
analogous
#83A11B #40A11B #1BA139
triadic
#40A11B #1B40A1 #A11B40
tetradic
#40A11B #1B83A1 #7C1BA1 #A1391B
square
#40A11B #1B83A1 #7C1BA1 #A1391B
split-complementary
#40A11B #391BA1 #A11B83
monochromatic
#163809 #2B6D12 #40A11B #55D524 #7BE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A11B#FFFFFF#000000##000000
##40A11B1.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: #40a11b;
/* rgb */ color: rgb(64, 161, 27);
/* oklch */ color: oklch(62.7% 0.187 139.2);
Tailwind
colors: {
  custom: {
    50: '#81be65',
    500: '#40a11b',
    950: '#000000',
  },
}
SCSS
$custom: #40a11b;
$custom-light: #81be65;
$custom-dark: #000000;
JSON
{
  "hex": "#40a11b",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 103.433,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.18664,
    "h": 139.2
  },
  "luminance": 0.26659
}

Semantic roles & 50–950 ramp

primary
#40A11B
secondary
#A652C5
accent
#3AEEBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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