#40A656#40A656

#40A656 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.6% C 0.150 H 147.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#40A656
RGBrgb(64, 166, 86)
HSLhsl(133, 44%, 45%)
HSVhsv(133, 61%, 65%)
CMYKcmyk(61.4%, 0%, 48.2%, 34.9%)
CIE-LABlab(60.81, -47.02, 32.73)
CIE-LCHlch(60.81, 57.29, 145.15°)
OKLaboklab(64.62% -0.127 0.0798)
OKLCHoklch(64.62% 0.15 147.9)
XYZxyz(17.4291, 29.0326, 13.4877)
Luminance0.2903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A656 #A64090
analogous
#5DA640 #40A656 #40A689
triadic
#40A656 #5640A6 #A65640
tetradic
#40A656 #405DA6 #A64090 #A68940
square
#40A656 #405DA6 #A64090 #A68940
split-complementary
#40A656 #8940A6 #A6405D
monochromatic
#1E4E28 #2F7A3F #40A656 #61C276 #8DD39C

Accessibility & contrast

On white

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

On black

6.81
#40A656 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A656
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A656#FFFFFF#000000##000000
##40A6561.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89850
Deuteranopia (green-blind)
#9B8F5C
Tritanopia (blue-blind)
#25A393
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a656;
/* rgb */ color: rgb(64, 166, 86);
/* oklch */ color: oklch(64.6% 0.150 147.9);
Tailwind
colors: {
  custom: {
    50: '#7fc187',
    500: '#40a656',
    950: '#000000',
  },
}
SCSS
$custom: #40a656;
$custom-light: #7fc187;
$custom-dark: #000000;
JSON
{
  "hex": "#40a656",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 86
  },
  "hsl": {
    "h": 132.941,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64623,
    "c": 0.15001,
    "h": 147.9
  },
  "luminance": 0.29034
}

Semantic roles & 50–950 ramp

primary
#40A656
secondary
#BE84B2
accent
#54B8D4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A656

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

Preview Lab → · Contrast checker → · Palette generator →

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