#40A736#40A736

#40A736 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.5% C 0.178 H 141.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#40A736
RGBrgb(64, 167, 54)
HSLhsl(115, 51%, 43%)
HSVhsv(115, 68%, 65%)
CMYKcmyk(61.7%, 0%, 67.7%, 34.5%)
CIE-LABlab(60.77, -51.45, 47.87)
CIE-LCHlch(60.77, 70.28, 137.06°)
OKLaboklab(64.48% -0.1403 0.1102)
OKLCHoklch(64.48% 0.178 141.9)
XYZxyz(16.5981, 28.9922, 8.2107)
Luminance0.2899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A736 #9D36A7
analogous
#78A736 #40A736 #36A764
triadic
#40A736 #3640A7 #A73640
tetradic
#40A736 #3678A7 #9D36A7 #A76436
square
#40A736 #3678A7 #9D36A7 #A76436
split-complementary
#40A736 #6436A7 #A73678
monochromatic
#1D4B18 #2E7927 #40A736 #5DC753 #89D681

Accessibility & contrast

On white

3.09
#40A736 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#40A736 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A736
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A736#FFFFFF#000000##000000
##40A7361.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9827
Deuteranopia (green-blind)
#9E8F40
Tritanopia (blue-blind)
#2FA290
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a736;
/* rgb */ color: rgb(64, 167, 54);
/* oklch */ color: oklch(64.5% 0.178 141.9);
Tailwind
colors: {
  custom: {
    50: '#81c273',
    500: '#40a736',
    950: '#000000',
  },
}
SCSS
$custom: #40a736;
$custom-light: #81c273;
$custom-dark: #000000;
JSON
{
  "hex": "#40a736",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 54
  },
  "hsl": {
    "h": 114.69,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.64477,
    "c": 0.17838,
    "h": 141.9
  },
  "luminance": 0.28994
}

Semantic roles & 50–950 ramp

primary
#40A736
secondary
#B979C0
accent
#4DDBCE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A736

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

Preview Lab → · Contrast checker → · Palette generator →

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