#40A81B#40A81B

#40A81B is a light, vivid green. Relative luminance 0.292; OKLCH L 64.6% C 0.195 H 139.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#40A81B
RGBrgb(64, 168, 27)
HSLhsl(104, 72%, 38%)
HSVhsv(104, 84%, 66%)
CMYKcmyk(61.9%, 0%, 83.9%, 34.1%)
CIE-LABlab(60.93, -53.74, 57.36)
CIE-LCHlch(60.93, 78.60, 133.13°)
OKLaboklab(64.56% -0.1479 0.1264)
OKLCHoklch(64.56% 0.195 139.5)
XYZxyz(16.3141, 29.1729, 5.8079)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A81B #831BA8
analogous
#86A81B #40A81B #1BA83C
triadic
#40A81B #1B40A8 #A81B40
tetradic
#40A81B #1B86A8 #831BA8 #A83C1B
square
#40A81B #1B86A8 #831BA8 #A83C1B
split-complementary
#40A81B #3C1BA8 #A81B86
monochromatic
#183F0A #2C7313 #40A81B #54DC24 #7EE459

Accessibility & contrast

On white

3.07
#40A81B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#40A81B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A81B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A81B#FFFFFF#000000##000000
##40A81B1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#32A28F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a81b;
/* rgb */ color: rgb(64, 168, 27);
/* oklch */ color: oklch(64.6% 0.195 139.5);
Tailwind
colors: {
  custom: {
    50: '#82c366',
    500: '#40a81b',
    950: '#000000',
  },
}
SCSS
$custom: #40a81b;
$custom-light: #82c366;
$custom-dark: #000000;
JSON
{
  "hex": "#40a81b",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 104.255,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64556,
    "c": 0.19453,
    "h": 139.5
  },
  "luminance": 0.29174
}

Semantic roles & 50–950 ramp

primary
#40A81B
secondary
#AA57C8
accent
#39EFBF
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1306
muted
#7D827A

Preview Lab

Preview with #40A81B

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

Preview Lab → · Contrast checker → · Palette generator →

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