#40A059#40A059

#40A059 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.1% C 0.139 H 149.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#40A059
RGBrgb(64, 160, 89)
HSLhsl(136, 43%, 44%)
HSVhsv(136, 60%, 63%)
CMYKcmyk(60%, 0%, 44.4%, 37.3%)
CIE-LABlab(58.93, -44.12, 28.77)
CIE-LCHlch(58.93, 52.67, 146.89°)
OKLaboklab(63.09% -0.1193 0.0708)
OKLCHoklch(63.09% 0.139 149.3)
XYZxyz(16.4872, 26.9513, 13.7825)
Luminance0.2695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A059 #A04087
analogous
#57A040 #40A059 #40A089
triadic
#40A059 #5940A0 #A05940
tetradic
#40A059 #4057A0 #A04087 #A08940
square
#40A059 #4057A0 #A04087 #A08940
split-complementary
#40A059 #8940A0 #A04057
monochromatic
#1D4928 #2F7441 #40A059 #5EBF78 #8AD09C

Accessibility & contrast

On white

3.29
#40A059 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#40A059 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A059
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A059#FFFFFF#000000##000000
##40A0591.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19354
Deuteranopia (green-blind)
#958A5E
Tritanopia (blue-blind)
#269D8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a059;
/* rgb */ color: rgb(64, 160, 89);
/* oklch */ color: oklch(63.1% 0.139 149.3);
Tailwind
colors: {
  custom: {
    50: '#7ebd89',
    500: '#40a059',
    950: '#000000',
  },
}
SCSS
$custom: #40a059;
$custom-light: #7ebd89;
$custom-dark: #000000;
JSON
{
  "hex": "#40a059",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 89
  },
  "hsl": {
    "h": 135.625,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.13872,
    "h": 149.3
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#40A059
secondary
#BB81AC
accent
#55B2D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A059

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

Preview Lab → · Contrast checker → · Palette generator →

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