#40AC28#40AC28

#40AC28 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.193 H 140.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#40AC28
RGBrgb(64, 172, 40)
HSLhsl(109, 62%, 42%)
HSVhsv(109, 77%, 67%)
CMYKcmyk(62.8%, 0%, 76.7%, 32.5%)
CIE-LABlab(62.29, -54.39, 54.74)
CIE-LCHlch(62.29, 77.17, 134.81°)
OKLaboklab(65.7% -0.149 0.1227)
OKLCHoklch(65.7% 0.193 140.5)
XYZxyz(17.2491, 30.7466, 7.0328)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC28 #9428AC
analogous
#82AC28 #40AC28 #28AC52
triadic
#40AC28 #2840AC #AC2840
tetradic
#40AC28 #2882AC #9428AC #AC5228
square
#40AC28 #2882AC #9428AC #AC5228
split-complementary
#40AC28 #5228AC #AC2882
monochromatic
#1B4911 #2E7A1C #40AC28 #5AD23F #84DE71

Accessibility & contrast

On white

2.94
#40AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#40AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC28
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC28#FFFFFF#000000##000000
##40AC281.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#2FA693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac28;
/* rgb */ color: rgb(64, 172, 40);
/* oklch */ color: oklch(65.7% 0.193 140.5);
Tailwind
colors: {
  custom: {
    50: '#82c66c',
    500: '#40ac28',
    950: '#000000',
  },
}
SCSS
$custom: #40ac28;
$custom-light: #82c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac28",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 109.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65702,
    "c": 0.19303,
    "h": 140.5
  },
  "luminance": 0.30748
}

Semantic roles & 50–950 ramp

primary
#40AC28
secondary
#B46BC5
accent
#42E5C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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