#40AB60#40AB60

#40AB60 is a light, vivid green. Relative luminance 0.311; OKLCH L 66.1% C 0.147 H 150.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#40AB60
RGBrgb(64, 171, 96)
HSLhsl(138, 46%, 46%)
HSVhsv(138, 63%, 67%)
CMYKcmyk(62.6%, 0%, 43.9%, 32.9%)
CIE-LABlab(62.56, -47.35, 29.75)
CIE-LCHlch(62.56, 55.92, 147.86°)
OKLaboklab(66.11% -0.1279 0.0733)
OKLCHoklch(66.11% 0.147 150.2)
XYZxyz(18.7872, 31.0585, 16.0689)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB60 #AB408B
analogous
#55AB40 #40AB60 #40AB95
triadic
#40AB60 #6040AB #AB6040
tetradic
#40AB60 #4055AB #AB408B #AB9540
square
#40AB60 #4055AB #AB408B #AB9540
split-complementary
#40AB60 #9540AB #AB4055
monochromatic
#1F522E #2F7E47 #40AB60 #63C581 #90D5A5

Accessibility & contrast

On white

2.91
#40AB60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#40AB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB60
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB60#FFFFFF#000000##000000
##40AB601.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5A
Deuteranopia (green-blind)
#9E9365
Tritanopia (blue-blind)
#1DA899
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ab60;
/* rgb */ color: rgb(64, 171, 96);
/* oklch */ color: oklch(66.1% 0.147 150.2);
Tailwind
colors: {
  custom: {
    50: '#80c58e',
    500: '#40ab60',
    950: '#000000',
  },
}
SCSS
$custom: #40ab60;
$custom-light: #80c58e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab60",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 96
  },
  "hsl": {
    "h": 137.944,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66109,
    "c": 0.14743,
    "h": 150.2
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

primary
#40AB60
secondary
#C186AF
accent
#53AED5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AB60

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

Preview Lab → · Contrast checker → · Palette generator →

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