#40A22E#40A22E

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

Color values

HEX#40A22E
RGBrgb(64, 162, 46)
HSLhsl(111, 56%, 41%)
HSVhsv(111, 72%, 64%)
CMYKcmyk(60.5%, 0%, 71.6%, 36.5%)
CIE-LABlab(59.09, -50.34, 49.34)
CIE-LCHlch(59.09, 70.49, 135.57°)
OKLaboklab(63.07% -0.1377 0.1123)
OKLCHoklch(63.07% 0.178 140.8)
XYZxyz(15.5271, 27.1265, 7.0019)
Luminance0.2713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A22E #902EA2
analogous
#7AA22E #40A22E #2EA256
triadic
#40A22E #2E40A2 #A22E40
tetradic
#40A22E #2E7AA2 #902EA2 #A2562E
square
#40A22E #2E7AA2 #902EA2 #A2562E
split-complementary
#40A22E #562EA2 #A22E7A
monochromatic
#1A4313 #2D7220 #40A22E #58CA43 #83D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A22E#FFFFFF#000000##000000
##40A22E1.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)
#A6931B
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#329D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a22e;
/* rgb */ color: rgb(64, 162, 46);
/* oklch */ color: oklch(63.1% 0.178 140.8);
Tailwind
colors: {
  custom: {
    50: '#80be6e',
    500: '#40a22e',
    950: '#000000',
  },
}
SCSS
$custom: #40a22e;
$custom-light: #80be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a22e",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 110.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63066,
    "c": 0.17769,
    "h": 140.8
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#40A22E
secondary
#B26DBF
accent
#49DFC8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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