#40A665#40A665

#40A665 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.9% C 0.136 H 152.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#40A665
RGBrgb(64, 166, 101)
HSLhsl(142, 44%, 45%)
HSVhsv(142, 61%, 65%)
CMYKcmyk(61.4%, 0%, 39.2%, 34.9%)
CIE-LABlab(61.05, -44.44, 25.12)
CIE-LCHlch(61.05, 51.05, 150.52°)
OKLaboklab(64.89% -0.1203 0.0626)
OKLCHoklch(64.89% 0.136 152.5)
XYZxyz(18.0981, 29.3002, 17.0111)
Luminance0.2930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A665 #A64081
analogous
#4EA640 #40A665 #40A698
triadic
#40A665 #6540A6 #A66540
tetradic
#40A665 #404EA6 #A64081 #A69840
square
#40A665 #404EA6 #A64081 #A69840
split-complementary
#40A665 #9840A6 #A6404E
monochromatic
#1E4E2F #2F7A4A #40A665 #61C284 #8DD3A7

Accessibility & contrast

On white

3.06
#40A665 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#40A665 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A665
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A665#FFFFFF#000000##000000
##40A6651.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69961
Deuteranopia (green-blind)
#999069
Tritanopia (blue-blind)
#1CA496
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a665;
/* rgb */ color: rgb(64, 166, 101);
/* oklch */ color: oklch(64.9% 0.136 152.5);
Tailwind
colors: {
  custom: {
    50: '#7fc191',
    500: '#40a665',
    950: '#000000',
  },
}
SCSS
$custom: #40a665;
$custom-light: #7fc191;
$custom-dark: #000000;
JSON
{
  "hex": "#40a665",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 101
  },
  "hsl": {
    "h": 141.765,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64893,
    "c": 0.1356,
    "h": 152.5
  },
  "luminance": 0.29302
}

Semantic roles & 50–950 ramp

primary
#40A665
secondary
#BE84A9
accent
#54A6D4
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120D
muted
#7C817D

Preview Lab

Preview with #40A665

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

Preview Lab → · Contrast checker → · Palette generator →

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