#40A52B#40A52B

#40A52B is a light, vivid green. Relative luminance 0.282; OKLCH L 63.8% C 0.183 H 140.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#40A52B
RGBrgb(64, 165, 43)
HSLhsl(110, 59%, 41%)
HSVhsv(110, 74%, 65%)
CMYKcmyk(61.2%, 0%, 73.9%, 35.3%)
CIE-LABlab(60.04, -51.67, 51.45)
CIE-LCHlch(60.04, 72.92, 135.12°)
OKLaboklab(63.85% -0.1415 0.1163)
OKLCHoklch(63.85% 0.183 140.6)
XYZxyz(16.0048, 28.1732, 6.8796)
Luminance0.2818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A52B #902BA5
analogous
#7DA52B #40A52B #2BA553
triadic
#40A52B #2B40A5 #A52B40
tetradic
#40A52B #2B7DA5 #902BA5 #A5532B
square
#40A52B #2B7DA5 #902BA5 #A5532B
split-complementary
#40A52B #532BA5 #A52B7D
monochromatic
#1A4412 #2D741E #40A52B #58CD40 #83DA71

Accessibility & contrast

On white

3.17
#40A52B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#40A52B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A52B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A52B#FFFFFF#000000##000000
##40A52B1.003.176.646.64
#FFFFFF3.171.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#31A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a52b;
/* rgb */ color: rgb(64, 165, 43);
/* oklch */ color: oklch(63.8% 0.183 140.6);
Tailwind
colors: {
  custom: {
    50: '#81c16c',
    500: '#40a52b',
    950: '#000000',
  },
}
SCSS
$custom: #40a52b;
$custom-light: #81c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a52b",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 109.672,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.18315,
    "h": 140.6
  },
  "luminance": 0.28175
}

Semantic roles & 50–950 ramp

primary
#40A52B
secondary
#B26BC1
accent
#46E2C7
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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