#40A22B#40A22B

#40A22B is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.180 H 140.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#40A22B
RGBrgb(64, 162, 43)
HSLhsl(109, 58%, 40%)
HSVhsv(109, 73%, 64%)
CMYKcmyk(60.5%, 0%, 73.5%, 36.5%)
CIE-LABlab(59.07, -50.58, 50.47)
CIE-LCHlch(59.07, 71.45, 135.07°)
OKLaboklab(63.04% -0.1386 0.1142)
OKLCHoklch(63.04% 0.18 140.5)
XYZxyz(15.4700, 27.1037, 6.7013)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A22B #8D2BA2
analogous
#7BA22B #40A22B #2BA252
triadic
#40A22B #2B40A2 #A22B40
tetradic
#40A22B #2B7BA2 #8D2BA2 #A2522B
square
#40A22B #2B7BA2 #8D2BA2 #A2522B
split-complementary
#40A22B #522BA2 #A22B7B
monochromatic
#1A4111 #2D721E #40A22B #57CC3E #81D96F

Accessibility & contrast

On white

3.27
#40A22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#40A22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A22B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A22B#FFFFFF#000000##000000
##40A22B1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#329D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a22b;
/* rgb */ color: rgb(64, 162, 43);
/* oklch */ color: oklch(63.0% 0.180 140.5);
Tailwind
colors: {
  custom: {
    50: '#80be6c',
    500: '#40a22b',
    950: '#000000',
  },
}
SCSS
$custom: #40a22b;
$custom-light: #80be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a22b",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 109.412,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.17956,
    "h": 140.5
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#40A22B
secondary
#B069C0
accent
#47E1C6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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