#40AC34#40AC34

#40AC34 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.186 H 141.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#40AC34
RGBrgb(64, 172, 52)
HSLhsl(114, 54%, 44%)
HSVhsv(114, 70%, 67%)
CMYKcmyk(62.8%, 0%, 69.8%, 32.5%)
CIE-LABlab(62.37, -53.45, 50.39)
CIE-LCHlch(62.37, 73.46, 136.68°)
OKLaboklab(65.79% -0.1458 0.1152)
OKLCHoklch(65.79% 0.186 141.7)
XYZxyz(17.4858, 30.8413, 8.2796)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC34 #A034AC
analogous
#7CAC34 #40AC34 #34AC64
triadic
#40AC34 #3440AC #AC3440
tetradic
#40AC34 #347CAC #A034AC #AC6434
square
#40AC34 #347CAC #A034AC #AC6434
split-complementary
#40AC34 #6434AC #AC347C
monochromatic
#1D4E18 #2F7D26 #40AC34 #5ECB52 #8AD981

Accessibility & contrast

On white

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

On black

7.17
#40AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC34
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC34#FFFFFF#000000##000000
##40AC341.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#A3933F
Tritanopia (blue-blind)
#2DA794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac34;
/* rgb */ color: rgb(64, 172, 52);
/* oklch */ color: oklch(65.8% 0.186 141.7);
Tailwind
colors: {
  custom: {
    50: '#82c672',
    500: '#40ac34',
    950: '#000000',
  },
}
SCSS
$custom: #40ac34;
$custom-light: #82c672;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac34",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 114,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.18583,
    "h": 141.7
  },
  "luminance": 0.30843
}

Semantic roles & 50–950 ramp

primary
#40AC34
secondary
#BB79C2
accent
#4BDDCE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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