#40A136#40A136

#40A136 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.9% C 0.171 H 141.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#40A136
RGBrgb(64, 161, 54)
HSLhsl(114, 50%, 42%)
HSVhsv(114, 66%, 63%)
CMYKcmyk(60.2%, 0%, 66.5%, 36.9%)
CIE-LABlab(58.83, -49.23, 45.77)
CIE-LCHlch(58.83, 67.22, 137.09°)
OKLaboklab(62.87% -0.1343 0.1057)
OKLCHoklch(62.87% 0.171 141.8)
XYZxyz(15.5243, 26.8446, 7.8527)
Luminance0.2685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A136 #9736A1
analogous
#75A136 #40A136 #36A162
triadic
#40A136 #3640A1 #A13640
tetradic
#40A136 #3675A1 #9736A1 #A16236
square
#40A136 #3675A1 #9736A1 #A16236
split-complementary
#40A136 #6236A1 #A13675
monochromatic
#1C4517 #2E7327 #40A136 #5BC450 #86D47E

Accessibility & contrast

On white

3.30
#40A136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#40A136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A136
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A136#FFFFFF#000000##000000
##40A1361.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59328
Deuteranopia (green-blind)
#998A3F
Tritanopia (blue-blind)
#319C8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a136;
/* rgb */ color: rgb(64, 161, 54);
/* oklch */ color: oklch(62.9% 0.171 141.8);
Tailwind
colors: {
  custom: {
    50: '#80be72',
    500: '#40a136',
    950: '#000000',
  },
}
SCSS
$custom: #40a136;
$custom-light: #80be72;
$custom-dark: #000000;
JSON
{
  "hex": "#40a136",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 54
  },
  "hsl": {
    "h": 114.393,
    "s": 49.767,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62871,
    "c": 0.1709,
    "h": 141.8
  },
  "luminance": 0.26846
}

Semantic roles & 50–950 ramp

primary
#40A136
secondary
#B676BD
accent
#4FD9CC
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A136

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

Preview Lab → · Contrast checker → · Palette generator →

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