#40AC46#40AC46

#40AC46 is a light, vivid green. Relative luminance 0.310; OKLCH L 66.0% C 0.172 H 144.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#40AC46
RGBrgb(64, 172, 70)
HSLhsl(123, 46%, 46%)
HSVhsv(123, 63%, 67%)
CMYKcmyk(62.8%, 0%, 59.3%, 32.5%)
CIE-LABlab(62.54, -51.54, 42.73)
CIE-LCHlch(62.54, 66.95, 140.34°)
OKLaboklab(65.98% -0.1397 0.1008)
OKLCHoklch(65.98% 0.172 144.2)
XYZxyz(17.9713, 31.0355, 10.8365)
Luminance0.3104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC46 #AC40A6
analogous
#70AC40 #40AC46 #40AC7C
triadic
#40AC46 #4640AC #AC4640
tetradic
#40AC46 #4070AC #AC40A6 #AC7C40
square
#40AC46 #4070AC #AC40A6 #AC7C40
split-complementary
#40AC46 #7C40AC #AC4070
monochromatic
#1F5322 #2F7F34 #40AC46 #64C569 #91D694

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AC46#FFFFFF#000000##000000
##40AC461.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)
#AF9D3B
Deuteranopia (green-blind)
#A2944E
Tritanopia (blue-blind)
#29A896
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac46;
/* rgb */ color: rgb(64, 172, 70);
/* oklch */ color: oklch(66.0% 0.172 144.2);
Tailwind
colors: {
  custom: {
    50: '#81c67d',
    500: '#40ac46',
    950: '#000000',
  },
}
SCSS
$custom: #40ac46;
$custom-light: #81c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac46",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 70
  },
  "hsl": {
    "h": 123.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.1723,
    "h": 144.2
  },
  "luminance": 0.31037
}

Semantic roles & 50–950 ramp

primary
#40AC46
secondary
#C187BE
accent
#52CED5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AC46

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

Preview Lab → · Contrast checker → · Palette generator →

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