#40AC3E#40AC3E

#40AC3E is a light, vivid green. Relative luminance 0.309; OKLCH L 65.9% C 0.179 H 142.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#40AC3E
RGBrgb(64, 172, 62)
HSLhsl(119, 47%, 46%)
HSVhsv(119, 64%, 67%)
CMYKcmyk(62.8%, 0%, 64%, 32.5%)
CIE-LABlab(62.46, -52.46, 46.27)
CIE-LCHlch(62.46, 69.95, 138.59°)
OKLaboklab(65.89% -0.1426 0.1077)
OKLCHoklch(65.89% 0.179 142.9)
XYZxyz(17.7354, 30.9411, 9.5941)
Luminance0.3094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC3E #AA3EAC
analogous
#77AC3E #40AC3E #3EAC73
triadic
#40AC3E #3E40AC #AC3E40
tetradic
#40AC3E #3E77AC #AA3EAC #AC733E
square
#40AC3E #3E77AC #AA3EAC #AC733E
split-complementary
#40AC3E #733EAC #AC3E77
monochromatic
#1F521E #2F7F2E #40AC3E #63C661 #8FD68E

Accessibility & contrast

On white

2.92
#40AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#40AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC3E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC3E#FFFFFF#000000##000000
##40AC3E1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D31
Deuteranopia (green-blind)
#A29447
Tritanopia (blue-blind)
#2BA795
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac3e;
/* rgb */ color: rgb(64, 172, 62);
/* oklch */ color: oklch(65.9% 0.179 142.9);
Tailwind
colors: {
  custom: {
    50: '#81c678',
    500: '#40ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #40ac3e;
$custom-light: #81c678;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac3e",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 118.909,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65891,
    "c": 0.17868,
    "h": 142.9
  },
  "luminance": 0.30943
}

Semantic roles & 50–950 ramp

primary
#40AC3E
secondary
#C085C1
accent
#51D7D4
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #40AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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