#40A22F#40A22F

#40A22F is a light, vivid green. Relative luminance 0.271; OKLCH L 63.1% C 0.177 H 140.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#40A22F
RGBrgb(64, 162, 47)
HSLhsl(111, 55%, 41%)
HSVhsv(111, 71%, 64%)
CMYKcmyk(60.5%, 0%, 71%, 36.5%)
CIE-LABlab(59.10, -50.25, 48.95)
CIE-LCHlch(59.10, 70.16, 135.75°)
OKLaboklab(63.08% -0.1374 0.1116)
OKLCHoklch(63.08% 0.177 140.9)
XYZxyz(15.5470, 27.1345, 7.1069)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A22F #912FA2
analogous
#79A22F #40A22F #2FA257
triadic
#40A22F #2F40A2 #A22F40
tetradic
#40A22F #2F79A2 #912FA2 #A2572F
square
#40A22F #2F79A2 #912FA2 #A2572F
split-complementary
#40A22F #572FA2 #A22F79
monochromatic
#1B4313 #2D7321 #40A22F #59C945 #83D775

Accessibility & contrast

On white

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

On black

6.43
#40A22F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A22F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A22F#FFFFFF#000000##000000
##40A22F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a22f;
/* rgb */ color: rgb(64, 162, 47);
/* oklch */ color: oklch(63.1% 0.177 140.9);
Tailwind
colors: {
  custom: {
    50: '#80be6e',
    500: '#40a22f',
    950: '#000000',
  },
}
SCSS
$custom: #40a22f;
$custom-light: #80be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a22f",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 111.13,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.17703,
    "h": 140.9
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

primary
#40A22F
secondary
#B36EBF
accent
#49DEC8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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