#40A855#40A855

#40A855 is a light, vivid green. Relative luminance 0.298; OKLCH L 65.1% C 0.154 H 147.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#40A855
RGBrgb(64, 168, 85)
HSLhsl(132, 45%, 45%)
HSVhsv(132, 62%, 66%)
CMYKcmyk(61.9%, 0%, 49.4%, 34.1%)
CIE-LABlab(61.44, -47.96, 34.03)
CIE-LCHlch(61.44, 58.80, 144.64°)
OKLaboklab(65.13% -0.1296 0.0827)
OKLCHoklch(65.13% 0.154 147.5)
XYZxyz(17.7555, 29.7494, 13.3991)
Luminance0.2975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A855 #A84093
analogous
#5FA840 #40A855 #40A889
triadic
#40A855 #5540A8 #A85540
tetradic
#40A855 #405FA8 #A84093 #A88940
square
#40A855 #405FA8 #A84093 #A88940
split-complementary
#40A855 #8940A8 #A8405F
monochromatic
#1E4F28 #2F7C3F #40A855 #62C376 #8ED49C

Accessibility & contrast

On white

3.02
#40A855 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#40A855 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A855
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A855#FFFFFF#000000##000000
##40A8551.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4E
Deuteranopia (green-blind)
#9D915B
Tritanopia (blue-blind)
#25A595
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a855;
/* rgb */ color: rgb(64, 168, 85);
/* oklch */ color: oklch(65.1% 0.154 147.5);
Tailwind
colors: {
  custom: {
    50: '#80c386',
    500: '#40a855',
    950: '#000000',
  },
}
SCSS
$custom: #40a855;
$custom-light: #80c386;
$custom-dark: #000000;
JSON
{
  "hex": "#40a855",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 132.115,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.1537,
    "h": 147.5
  },
  "luminance": 0.29751
}

Semantic roles & 50–950 ramp

primary
#40A855
secondary
#BF85B3
accent
#53BAD5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A855

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

Preview Lab → · Contrast checker → · Palette generator →

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