#40A116#40A116

#40A116 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.6% C 0.189 H 138.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#40A116
RGBrgb(64, 161, 22)
HSLhsl(102, 76%, 36%)
HSVhsv(102, 86%, 63%)
CMYKcmyk(60.2%, 0%, 86.3%, 36.9%)
CIE-LABlab(58.64, -51.49, 56.54)
CIE-LCHlch(58.64, 76.47, 132.32°)
OKLaboklab(62.65% -0.1421 0.124)
OKLCHoklch(62.65% 0.189 138.9)
XYZxyz(15.0034, 26.6363, 5.1096)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A116 #7716A1
analogous
#85A116 #40A116 #16A132
triadic
#40A116 #1640A1 #A11640
tetradic
#40A116 #1685A1 #7716A1 #A13216
square
#40A116 #1685A1 #7716A1 #A13216
split-complementary
#40A116 #3216A1 #A11685
monochromatic
#153507 #2B6B0F #40A116 #55D71D #7AE64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A116#FFFFFF#000000##000000
##40A1161.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)
#9A8A29
Tritanopia (blue-blind)
#359B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a116;
/* rgb */ color: rgb(64, 161, 22);
/* oklch */ color: oklch(62.6% 0.189 138.9);
Tailwind
colors: {
  custom: {
    50: '#81be63',
    500: '#40a116',
    950: '#000000',
  },
}
SCSS
$custom: #40a116;
$custom-light: #81be63;
$custom-dark: #000000;
JSON
{
  "hex": "#40a116",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 101.871,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62649,
    "c": 0.18856,
    "h": 138.9
  },
  "luminance": 0.26638
}

Semantic roles & 50–950 ramp

primary
#40A116
secondary
#A24BC8
accent
#35F3B9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A116

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

Preview Lab → · Contrast checker → · Palette generator →

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