#40AD2B#40AD2B

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

Color values

HEX#40AD2B
RGBrgb(64, 173, 43)
HSLhsl(110, 60%, 42%)
HSVhsv(110, 75%, 68%)
CMYKcmyk(63%, 0%, 75.1%, 32.2%)
CIE-LABlab(62.63, -54.53, 54.05)
CIE-LCHlch(62.63, 76.78, 135.25°)
OKLaboklab(65.99% -0.1492 0.1217)
OKLCHoklch(65.99% 0.193 140.8)
XYZxyz(17.4931, 31.1499, 7.3757)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD2B #982BAD
analogous
#81AD2B #40AD2B #2BAD57
triadic
#40AD2B #2B40AD #AD2B40
tetradic
#40AD2B #2B81AD #982BAD #AD572B
square
#40AD2B #2B81AD #982BAD #AD572B
split-complementary
#40AD2B #572BAD #AD2B81
monochromatic
#1C4B13 #2E7C1F #40AD2B #5BD145 #86DD76

Accessibility & contrast

On white

2.90
#40AD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AD2B#FFFFFF#000000##000000
##40AD2B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ad2b;
/* rgb */ color: rgb(64, 173, 43);
/* oklch */ color: oklch(66.0% 0.193 140.8);
Tailwind
colors: {
  custom: {
    50: '#83c66d',
    500: '#40ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #40ad2b;
$custom-light: #83c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad2b",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 110.308,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.19254,
    "h": 140.8
  },
  "luminance": 0.31152
}

Semantic roles & 50–950 ramp

primary
#40AD2B
secondary
#B76FC4
accent
#44E3CA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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