#40AB46#40AB46

#40AB46 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.171 H 144.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#40AB46
RGBrgb(64, 171, 70)
HSLhsl(123, 46%, 46%)
HSVhsv(123, 63%, 67%)
CMYKcmyk(62.6%, 0%, 59.1%, 32.9%)
CIE-LABlab(62.22, -51.17, 42.35)
CIE-LCHlch(62.22, 66.43, 140.39°)
OKLaboklab(65.72% -0.1387 0.1)
OKLCHoklch(65.72% 0.171 144.2)
XYZxyz(17.7817, 30.6563, 10.7733)
Luminance0.3066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB46 #AB40A5
analogous
#6FAB40 #40AB46 #40AB7B
triadic
#40AB46 #4640AB #AB4640
tetradic
#40AB46 #406FAB #AB40A5 #AB7B40
square
#40AB46 #406FAB #AB40A5 #AB7B40
split-complementary
#40AB46 #7B40AB #AB406F
monochromatic
#1F5222 #2F7E34 #40AB46 #63C569 #90D594

Accessibility & contrast

On white

2.94
#40AB46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#40AB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB46
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB46#FFFFFF#000000##000000
##40AB461.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3C
Deuteranopia (green-blind)
#A1934E
Tritanopia (blue-blind)
#29A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab46;
/* rgb */ color: rgb(64, 171, 70);
/* oklch */ color: oklch(65.7% 0.171 144.2);
Tailwind
colors: {
  custom: {
    50: '#81c57d',
    500: '#40ab46',
    950: '#000000',
  },
}
SCSS
$custom: #40ab46;
$custom-light: #81c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab46",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 123.364,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65717,
    "c": 0.17102,
    "h": 144.2
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

primary
#40AB46
secondary
#C186BD
accent
#53CED5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AB46

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

Preview Lab → · Contrast checker → · Palette generator →

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