#40A86F#40A86F

#40A86F is a light, vivid green. Relative luminance 0.302; OKLCH L 65.6% C 0.129 H 156.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#40A86F
RGBrgb(64, 168, 111)
HSLhsl(147, 45%, 45%)
HSVhsv(147, 62%, 66%)
CMYKcmyk(61.9%, 0%, 33.9%, 34.1%)
CIE-LABlab(61.86, -43.34, 20.80)
CIE-LCHlch(61.86, 48.07, 154.36°)
OKLaboklab(65.62% -0.1177 0.0524)
OKLCHoklch(65.62% 0.129 156)
XYZxyz(18.9846, 30.2411, 19.8725)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A86F #A84079
analogous
#45A840 #40A86F #40A8A3
triadic
#40A86F #6F40A8 #A86F40
tetradic
#40A86F #4045A8 #A84079 #A8A340
square
#40A86F #4045A8 #A84079 #A8A340
split-complementary
#40A86F #A340A8 #A84045
monochromatic
#1E4F34 #2F7C52 #40A86F #62C38E #8ED4AE

Accessibility & contrast

On white

2.98
#40A86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#40A86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A86F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A86F#FFFFFF#000000##000000
##40A86F1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79B6B
Deuteranopia (green-blind)
#999173
Tritanopia (blue-blind)
#12A799
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a86f;
/* rgb */ color: rgb(64, 168, 111);
/* oklch */ color: oklch(65.6% 0.129 156.0);
Tailwind
colors: {
  custom: {
    50: '#7fc398',
    500: '#40a86f',
    950: '#000000',
  },
}
SCSS
$custom: #40a86f;
$custom-light: #7fc398;
$custom-dark: #000000;
JSON
{
  "hex": "#40a86f",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 111
  },
  "hsl": {
    "h": 147.115,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65622,
    "c": 0.12889,
    "h": 156
  },
  "luminance": 0.30243
}

Semantic roles & 50–950 ramp

primary
#40A86F
secondary
#BF85A5
accent
#539AD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A86F

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

Preview Lab → · Contrast checker → · Palette generator →

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