#40A720#40A720

#40A720 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.3% C 0.191 H 139.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40A720
RGBrgb(64, 167, 32)
HSLhsl(106, 68%, 39%)
HSVhsv(106, 81%, 65%)
CMYKcmyk(61.7%, 0%, 80.8%, 34.5%)
CIE-LABlab(60.63, -53.12, 55.69)
CIE-LCHlch(60.63, 76.96, 133.65°)
OKLaboklab(64.31% -0.146 0.1236)
OKLCHoklch(64.31% 0.191 139.8)
XYZxyz(16.1931, 28.8302, 6.0777)
Luminance0.2883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A720 #8720A7
analogous
#84A720 #40A720 #20A744
triadic
#40A720 #2040A7 #A72040
tetradic
#40A720 #2084A7 #8720A7 #A74420
square
#40A720 #2084A7 #8720A7 #A74420
split-complementary
#40A720 #4420A7 #A72084
monochromatic
#19400C #2C7416 #40A720 #56D72D #7FE161

Accessibility & contrast

On white

3.10
#40A720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#40A720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A720
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A720#FFFFFF#000000##000000
##40A7201.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#32A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a720;
/* rgb */ color: rgb(64, 167, 32);
/* oklch */ color: oklch(64.3% 0.191 139.8);
Tailwind
colors: {
  custom: {
    50: '#82c268',
    500: '#40a720',
    950: '#000000',
  },
}
SCSS
$custom: #40a720;
$custom-light: #82c268;
$custom-dark: #000000;
JSON
{
  "hex": "#40a720",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 105.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64313,
    "c": 0.19128,
    "h": 139.8
  },
  "luminance": 0.28832
}

Semantic roles & 50–950 ramp

primary
#40A720
secondary
#AD5DC5
accent
#3DEBC2
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A720

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

Preview Lab → · Contrast checker → · Palette generator →

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