#40A81E#40A81E

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

Color values

HEX#40A81E
RGBrgb(64, 168, 30)
HSLhsl(105, 70%, 39%)
HSVhsv(105, 82%, 66%)
CMYKcmyk(61.9%, 0%, 82.1%, 34.1%)
CIE-LABlab(60.95, -53.59, 56.56)
CIE-LCHlch(60.95, 77.91, 133.45°)
OKLaboklab(64.57% -0.1474 0.1251)
OKLCHoklch(64.57% 0.193 139.7)
XYZxyz(16.3506, 29.1875, 6.0001)
Luminance0.2919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A81E #861EA8
analogous
#85A81E #40A81E #1EA841
triadic
#40A81E #1E40A8 #A81E40
tetradic
#40A81E #1E85A8 #861EA8 #A8411E
square
#40A81E #1E85A8 #861EA8 #A8411E
split-complementary
#40A81E #411EA8 #A81E85
monochromatic
#18400B #2C7415 #40A81E #55D92A #7FE25E

Accessibility & contrast

On white

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

On black

6.84
#40A81E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A81E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A81E#FFFFFF#000000##000000
##40A81E1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a81e;
/* rgb */ color: rgb(64, 168, 30);
/* oklch */ color: oklch(64.6% 0.193 139.7);
Tailwind
colors: {
  custom: {
    50: '#82c367',
    500: '#40a81e',
    950: '#000000',
  },
}
SCSS
$custom: #40a81e;
$custom-light: #82c367;
$custom-dark: #000000;
JSON
{
  "hex": "#40a81e",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 105.217,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.19329,
    "h": 139.7
  },
  "luminance": 0.29189
}

Semantic roles & 50–950 ramp

primary
#40A81E
secondary
#AC5BC7
accent
#3BEDC1
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40A81E

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

Preview Lab → · Contrast checker → · Palette generator →

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