#40A536#40A536

#40A536 is a light, vivid green. Relative luminance 0.283; OKLCH L 63.9% C 0.176 H 141.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#40A536
RGBrgb(64, 165, 54)
HSLhsl(115, 51%, 43%)
HSVhsv(115, 67%, 65%)
CMYKcmyk(61.2%, 0%, 67.3%, 35.3%)
CIE-LABlab(60.13, -50.72, 47.18)
CIE-LCHlch(60.13, 69.27, 137.07°)
OKLaboklab(63.94% -0.1383 0.1087)
OKLCHoklch(63.94% 0.176 141.8)
XYZxyz(16.2345, 28.2651, 8.0895)
Luminance0.2827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A536 #9B36A5
analogous
#77A536 #40A536 #36A564
triadic
#40A536 #3640A5 #A53640
tetradic
#40A536 #3677A5 #9B36A5 #A56436
square
#40A536 #3677A5 #9B36A5 #A56436
split-complementary
#40A536 #6436A5 #A53677
monochromatic
#1C4918 #2E7727 #40A536 #5CC652 #88D580

Accessibility & contrast

On white

3.16
#40A536 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#40A536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A536
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A536#FFFFFF#000000##000000
##40A5361.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99627
Deuteranopia (green-blind)
#9C8E40
Tritanopia (blue-blind)
#2FA08E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a536;
/* rgb */ color: rgb(64, 165, 54);
/* oklch */ color: oklch(63.9% 0.176 141.8);
Tailwind
colors: {
  custom: {
    50: '#80c172',
    500: '#40a536',
    950: '#000000',
  },
}
SCSS
$custom: #40a536;
$custom-light: #80c172;
$custom-dark: #000000;
JSON
{
  "hex": "#40a536",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 114.595,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.1759,
    "h": 141.8
  },
  "luminance": 0.28267
}

Semantic roles & 50–950 ramp

primary
#40A536
secondary
#B878BF
accent
#4EDACE
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A536

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

Preview Lab → · Contrast checker → · Palette generator →

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