#40A336#40A336

#40A336 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.173 H 141.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#40A336
RGBrgb(64, 163, 54)
HSLhsl(114, 50%, 43%)
HSVhsv(114, 67%, 64%)
CMYKcmyk(60.7%, 0%, 66.9%, 36.1%)
CIE-LABlab(59.48, -49.98, 46.47)
CIE-LCHlch(59.48, 68.25, 137.08°)
OKLaboklab(63.41% -0.1363 0.1072)
OKLCHoklch(63.41% 0.173 141.8)
XYZxyz(15.8766, 27.5492, 7.9702)
Luminance0.2755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A336 #9936A3
analogous
#77A336 #40A336 #36A362
triadic
#40A336 #3640A3 #A33640
tetradic
#40A336 #3677A3 #9936A3 #A36236
square
#40A336 #3677A3 #9936A3 #A36236
split-complementary
#40A336 #6236A3 #A33677
monochromatic
#1C4718 #2E7527 #40A336 #5CC551 #87D57F

Accessibility & contrast

On white

3.23
#40A336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#40A336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A336
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A336#FFFFFF#000000##000000
##40A3361.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79428
Deuteranopia (green-blind)
#9B8C40
Tritanopia (blue-blind)
#309E8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a336;
/* rgb */ color: rgb(64, 163, 54);
/* oklch */ color: oklch(63.4% 0.173 141.8);
Tailwind
colors: {
  custom: {
    50: '#80bf72',
    500: '#40a336',
    950: '#000000',
  },
}
SCSS
$custom: #40a336;
$custom-light: #80bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#40a336",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 114.495,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63407,
    "c": 0.17341,
    "h": 141.8
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#40A336
secondary
#B777BE
accent
#4EDACD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A336

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

Preview Lab → · Contrast checker → · Palette generator →

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