#40AB62#40AB62

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

Color values

HEX#40AB62
RGBrgb(64, 171, 98)
HSLhsl(139, 46%, 46%)
HSVhsv(139, 63%, 67%)
CMYKcmyk(62.6%, 0%, 42.7%, 32.9%)
CIE-LABlab(62.59, -47.00, 28.74)
CIE-LCHlch(62.59, 55.09, 148.56°)
OKLaboklab(66.15% -0.127 0.071)
OKLCHoklch(66.15% 0.146 150.8)
XYZxyz(18.8804, 31.0958, 16.5600)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB62 #AB4089
analogous
#53AB40 #40AB62 #40AB97
triadic
#40AB62 #6240AB #AB6240
tetradic
#40AB62 #4053AB #AB4089 #AB9740
square
#40AB62 #4053AB #AB4089 #AB9740
split-complementary
#40AB62 #9740AB #AB4053
monochromatic
#1F522F #2F7E48 #40AB62 #63C582 #90D5A6

Accessibility & contrast

On white

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

On black

7.22
#40AB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB62
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB62#FFFFFF#000000##000000
##40AB621.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5D
Deuteranopia (green-blind)
#9E9467
Tritanopia (blue-blind)
#1BA899
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ab62;
/* rgb */ color: rgb(64, 171, 98);
/* oklch */ color: oklch(66.1% 0.146 150.8);
Tailwind
colors: {
  custom: {
    50: '#80c58f',
    500: '#40ab62',
    950: '#000000',
  },
}
SCSS
$custom: #40ab62;
$custom-light: #80c58f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab62",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 98
  },
  "hsl": {
    "h": 139.065,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.14551,
    "h": 150.8
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#40AB62
secondary
#C186AE
accent
#53ACD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AB62

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

Preview Lab → · Contrast checker → · Palette generator →

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