#40A256#40A256

#40A256 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.6% C 0.144 H 148.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#40A256
RGBrgb(64, 162, 86)
HSLhsl(133, 43%, 44%)
HSVhsv(133, 60%, 64%)
CMYKcmyk(60.5%, 0%, 46.9%, 36.5%)
CIE-LABlab(59.53, -45.43, 31.11)
CIE-LCHlch(59.53, 55.06, 145.59°)
OKLaboklab(63.57% -0.1228 0.0761)
OKLCHoklch(63.57% 0.144 148.2)
XYZxyz(16.7132, 27.6009, 13.2490)
Luminance0.2760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A256 #A2408C
analogous
#5BA240 #40A256 #40A287
triadic
#40A256 #5640A2 #A25640
tetradic
#40A256 #405BA2 #A2408C #A28740
square
#40A256 #405BA2 #A2408C #A28740
split-complementary
#40A256 #8740A2 #A2405B
monochromatic
#1D4A27 #2F763F #40A256 #5FC075 #8BD19B

Accessibility & contrast

On white

3.22
#40A256 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#40A256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A256
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A256#FFFFFF#000000##000000
##40A2561.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49550
Deuteranopia (green-blind)
#978C5B
Tritanopia (blue-blind)
#279F90
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a256;
/* rgb */ color: rgb(64, 162, 86);
/* oklch */ color: oklch(63.6% 0.144 148.2);
Tailwind
colors: {
  custom: {
    50: '#7fbe87',
    500: '#40a256',
    950: '#000000',
  },
}
SCSS
$custom: #40a256;
$custom-light: #7fbe87;
$custom-dark: #000000;
JSON
{
  "hex": "#40a256",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 133.469,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63566,
    "c": 0.14444,
    "h": 148.2
  },
  "luminance": 0.27603
}

Semantic roles & 50–950 ramp

primary
#40A256
secondary
#BC82AF
accent
#55B7D3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A256

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

Preview Lab → · Contrast checker → · Palette generator →

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