#40AC2C#40AC2C

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

Color values

HEX#40AC2C
RGBrgb(64, 172, 44)
HSLhsl(111, 59%, 42%)
HSVhsv(111, 74%, 67%)
CMYKcmyk(62.8%, 0%, 74.4%, 32.5%)
CIE-LABlab(62.32, -54.10, 53.38)
CIE-LCHlch(62.32, 76.00, 135.39°)
OKLaboklab(65.73% -0.148 0.1204)
OKLCHoklch(65.73% 0.191 140.9)
XYZxyz(17.3206, 30.7752, 7.4098)
Luminance0.3078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC2C #982CAC
analogous
#80AC2C #40AC2C #2CAC58
triadic
#40AC2C #2C40AC #AC2C40
tetradic
#40AC2C #2C80AC #982CAC #AC582C
square
#40AC2C #2C80AC #982CAC #AC582C
split-complementary
#40AC2C #582CAC #AC2C80
monochromatic
#1C4B13 #2E7B20 #40AC2C #5BD046 #86DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AC2C#FFFFFF#000000##000000
##40AC2C1.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)
#B09C13
Deuteranopia (green-blind)
#A39339
Tritanopia (blue-blind)
#2FA693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac2c;
/* rgb */ color: rgb(64, 172, 44);
/* oklch */ color: oklch(65.7% 0.191 140.9);
Tailwind
colors: {
  custom: {
    50: '#82c66e',
    500: '#40ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #40ac2c;
$custom-light: #82c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac2c",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 110.625,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.19081,
    "h": 140.9
  },
  "luminance": 0.30777
}

Semantic roles & 50–950 ramp

primary
#40AC2C
secondary
#B770C4
accent
#45E2CA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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