#40A85C#40A85C

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

Color values

HEX#40A85C
RGBrgb(64, 168, 92)
HSLhsl(136, 45%, 45%)
HSVhsv(136, 62%, 66%)
CMYKcmyk(61.9%, 0%, 45.2%, 34.1%)
CIE-LABlab(61.54, -46.83, 30.54)
CIE-LCHlch(61.54, 55.91, 146.89°)
OKLaboklab(65.25% -0.1265 0.075)
OKLCHoklch(65.25% 0.147 149.3)
XYZxyz(18.0474, 29.8662, 14.9368)
Luminance0.2987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A85C #A8408C
analogous
#58A840 #40A85C #40A890
triadic
#40A85C #5C40A8 #A85C40
tetradic
#40A85C #4058A8 #A8408C #A89040
square
#40A85C #4058A8 #A8408C #A89040
split-complementary
#40A85C #9040A8 #A84058
monochromatic
#1E4F2B #2F7C44 #40A85C #62C37C #8ED4A1

Accessibility & contrast

On white

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

On black

6.97
#40A85C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A85C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A85C#FFFFFF#000000##000000
##40A85C1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A56
Deuteranopia (green-blind)
#9C9161
Tritanopia (blue-blind)
#21A596
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a85c;
/* rgb */ color: rgb(64, 168, 92);
/* oklch */ color: oklch(65.3% 0.147 149.3);
Tailwind
colors: {
  custom: {
    50: '#80c38b',
    500: '#40a85c',
    950: '#000000',
  },
}
SCSS
$custom: #40a85c;
$custom-light: #80c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a85c",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 92
  },
  "hsl": {
    "h": 136.154,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65251,
    "c": 0.14707,
    "h": 149.3
  },
  "luminance": 0.29868
}

Semantic roles & 50–950 ramp

primary
#40A85C
secondary
#BF85AF
accent
#53B2D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A85C

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

Preview Lab → · Contrast checker → · Palette generator →

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