#40AC2E#40AC2E

#40AC2E is a light, vivid green. Relative luminance 0.308; OKLCH L 65.7% C 0.190 H 141.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#40AC2E
RGBrgb(64, 172, 46)
HSLhsl(111, 58%, 43%)
HSVhsv(111, 73%, 67%)
CMYKcmyk(62.8%, 0%, 73.3%, 32.5%)
CIE-LABlab(62.33, -53.95, 52.66)
CIE-LCHlch(62.33, 75.39, 135.69°)
OKLaboklab(65.75% -0.1475 0.1192)
OKLCHoklch(65.75% 0.19 141.1)
XYZxyz(17.3592, 30.7906, 7.6126)
Luminance0.3079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC2E #9A2EAC
analogous
#7FAC2E #40AC2E #2EAC5B
triadic
#40AC2E #2E40AC #AC2E40
tetradic
#40AC2E #2E7FAC #9A2EAC #AC5B2E
square
#40AC2E #2E7FAC #9A2EAC #AC5B2E
split-complementary
#40AC2E #5B2EAC #AC2E7F
monochromatic
#1C4B14 #2E7C21 #40AC2E #5CCE49 #87DB79

Accessibility & contrast

On white

2.93
#40AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#40AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC2E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC2E#FFFFFF#000000##000000
##40AC2E1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#2EA793
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac2e;
/* rgb */ color: rgb(64, 172, 46);
/* oklch */ color: oklch(65.7% 0.190 141.1);
Tailwind
colors: {
  custom: {
    50: '#82c66f',
    500: '#40ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #40ac2e;
$custom-light: #82c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac2e",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 111.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.18963,
    "h": 141.1
  },
  "luminance": 0.30792
}

Semantic roles & 50–950 ramp

primary
#40AC2E
secondary
#B872C3
accent
#47E1CB
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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