#40AC2D#40AC2D

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

Color values

HEX#40AC2D
RGBrgb(64, 172, 45)
HSLhsl(111, 59%, 43%)
HSVhsv(111, 74%, 67%)
CMYKcmyk(62.8%, 0%, 73.8%, 32.5%)
CIE-LABlab(62.32, -54.03, 53.02)
CIE-LCHlch(62.32, 75.70, 135.54°)
OKLaboklab(65.74% -0.1478 0.1198)
OKLCHoklch(65.74% 0.19 141)
XYZxyz(17.3397, 30.7828, 7.5100)
Luminance0.3078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC2D #992DAC
analogous
#7FAC2D #40AC2D #2DAC5A
triadic
#40AC2D #2D40AC #AC2D40
tetradic
#40AC2D #2D7FAC #992DAC #AC5A2D
square
#40AC2D #2D7FAC #992DAC #AC5A2D
split-complementary
#40AC2D #5A2DAC #AC2D7F
monochromatic
#1C4B14 #2E7B20 #40AC2D #5CCF47 #87DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AC2D#FFFFFF#000000##000000
##40AC2D1.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)
#B09C15
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#2FA693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac2d;
/* rgb */ color: rgb(64, 172, 45);
/* oklch */ color: oklch(65.7% 0.190 141.0);
Tailwind
colors: {
  custom: {
    50: '#82c66e',
    500: '#40ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #40ac2d;
$custom-light: #82c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac2d",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 111.024,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.19023,
    "h": 141
  },
  "luminance": 0.30784
}

Semantic roles & 50–950 ramp

primary
#40AC2D
secondary
#B771C4
accent
#46E2CA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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