#40A22C#40A22C

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

Color values

HEX#40A22C
RGBrgb(64, 162, 44)
HSLhsl(110, 57%, 40%)
HSVhsv(110, 73%, 64%)
CMYKcmyk(60.5%, 0%, 72.8%, 36.5%)
CIE-LABlab(59.08, -50.50, 50.10)
CIE-LCHlch(59.08, 71.14, 135.23°)
OKLaboklab(63.05% -0.1383 0.1136)
OKLCHoklch(63.05% 0.179 140.6)
XYZxyz(15.4886, 27.1111, 6.7991)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A22C #8E2CA2
analogous
#7BA22C #40A22C #2CA253
triadic
#40A22C #2C40A2 #A22C40
tetradic
#40A22C #2C7BA2 #8E2CA2 #A2532C
square
#40A22C #2C7BA2 #8E2CA2 #A2532C
split-complementary
#40A22C #532CA2 #A22C7B
monochromatic
#1A4212 #2D721F #40A22C #58CB40 #82D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A22C#FFFFFF#000000##000000
##40A22C1.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)
#A69318
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#329D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a22c;
/* rgb */ color: rgb(64, 162, 44);
/* oklch */ color: oklch(63.0% 0.179 140.6);
Tailwind
colors: {
  custom: {
    50: '#80be6d',
    500: '#40a22c',
    950: '#000000',
  },
}
SCSS
$custom: #40a22c;
$custom-light: #80be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a22c",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 109.831,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6305,
    "c": 0.17895,
    "h": 140.6
  },
  "luminance": 0.27112
}

Semantic roles & 50–950 ramp

primary
#40A22C
secondary
#B16ABF
accent
#47E1C7
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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