#40AD2A#40AD2A

#40AD2A is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.193 H 140.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#40AD2A
RGBrgb(64, 173, 42)
HSLhsl(110, 61%, 42%)
HSVhsv(110, 76%, 68%)
CMYKcmyk(63%, 0%, 75.7%, 32.2%)
CIE-LABlab(62.63, -54.60, 54.39)
CIE-LCHlch(62.63, 77.07, 135.11°)
OKLaboklab(65.98% -0.1495 0.1223)
OKLCHoklch(65.98% 0.193 140.7)
XYZxyz(17.4750, 31.1426, 7.2803)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD2A #972AAD
analogous
#81AD2A #40AD2A #2AAD56
triadic
#40AD2A #2A40AD #AD2A40
tetradic
#40AD2A #2A81AD #972AAD #AD562A
square
#40AD2A #2A81AD #972AAD #AD562A
split-complementary
#40AD2A #562AAD #AD2A81
monochromatic
#1C4B12 #2E7C1E #40AD2A #5BD143 #86DD74

Accessibility & contrast

On white

2.91
#40AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#40AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD2A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD2A#FFFFFF#000000##000000
##40AD2A1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0D
Deuteranopia (green-blind)
#A49438
Tritanopia (blue-blind)
#2FA794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ad2a;
/* rgb */ color: rgb(64, 173, 42);
/* oklch */ color: oklch(66.0% 0.193 140.7);
Tailwind
colors: {
  custom: {
    50: '#83c66d',
    500: '#40ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #40ad2a;
$custom-light: #83c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad2a",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 109.924,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.1931,
    "h": 140.7
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#40AD2A
secondary
#B66EC5
accent
#44E4C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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