#40AA2B#40AA2B

#40AA2B is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.189 H 140.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#40AA2B
RGBrgb(64, 170, 43)
HSLhsl(110, 60%, 42%)
HSVhsv(110, 75%, 67%)
CMYKcmyk(62.4%, 0%, 74.7%, 33.3%)
CIE-LABlab(61.66, -53.47, 53.08)
CIE-LCHlch(61.66, 75.34, 135.21°)
OKLaboklab(65.19% -0.1464 0.1197)
OKLCHoklch(65.19% 0.189 140.7)
XYZxyz(16.9243, 30.0122, 7.1861)
Luminance0.3001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA2B #952BAA
analogous
#80AA2B #40AA2B #2BAA56
triadic
#40AA2B #2B40AA #AA2B40
tetradic
#40AA2B #2B80AA #952BAA #AA562B
square
#40AA2B #2B80AA #952BAA #AA562B
split-complementary
#40AA2B #562BAA #AA2B80
monochromatic
#1B4812 #2E791F #40AA2B #5ACF43 #85DC74

Accessibility & contrast

On white

3.00
#40AA2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#40AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA2B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA2B#FFFFFF#000000##000000
##40AA2B1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#30A492
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa2b;
/* rgb */ color: rgb(64, 170, 43);
/* oklch */ color: oklch(65.2% 0.189 140.7);
Tailwind
colors: {
  custom: {
    50: '#82c46d',
    500: '#40aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #40aa2b;
$custom-light: #82c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa2b",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 110.079,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65188,
    "c": 0.18905,
    "h": 140.7
  },
  "luminance": 0.30014
}

Semantic roles & 50–950 ramp

primary
#40AA2B
secondary
#B56EC3
accent
#45E3C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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