#40A860#40A860

#40A860 is a light, vivid green. Relative luminance 0.299; OKLCH L 65.3% C 0.143 H 150.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#40A860
RGBrgb(64, 168, 96)
HSLhsl(138, 45%, 45%)
HSVhsv(138, 62%, 66%)
CMYKcmyk(61.9%, 0%, 42.9%, 34.1%)
CIE-LABlab(61.60, -46.15, 28.51)
CIE-LCHlch(61.60, 54.25, 148.29°)
OKLaboklab(65.32% -0.1247 0.0704)
OKLCHoklch(65.32% 0.143 150.5)
XYZxyz(18.2269, 29.9380, 15.8821)
Luminance0.2994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A860 #A84088
analogous
#54A840 #40A860 #40A894
triadic
#40A860 #6040A8 #A86040
tetradic
#40A860 #4054A8 #A84088 #A89440
square
#40A860 #4054A8 #A84088 #A89440
split-complementary
#40A860 #9440A8 #A84054
monochromatic
#1E4F2D #2F7C47 #40A860 #62C380 #8ED4A4

Accessibility & contrast

On white

3.01
#40A860 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#40A860 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A860
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A860#FFFFFF#000000##000000
##40A8601.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A5B
Deuteranopia (green-blind)
#9B9165
Tritanopia (blue-blind)
#1FA596
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a860;
/* rgb */ color: rgb(64, 168, 96);
/* oklch */ color: oklch(65.3% 0.143 150.5);
Tailwind
colors: {
  custom: {
    50: '#7fc38e',
    500: '#40a860',
    950: '#000000',
  },
}
SCSS
$custom: #40a860;
$custom-light: #7fc38e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a860",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 96
  },
  "hsl": {
    "h": 138.462,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.14324,
    "h": 150.5
  },
  "luminance": 0.2994
}

Semantic roles & 50–950 ramp

primary
#40A860
secondary
#BF85AD
accent
#53ADD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A860

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

Preview Lab → · Contrast checker → · Palette generator →

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