#40A022#40A022

#40A022 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.4% C 0.182 H 139.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#40A022
RGBrgb(64, 160, 34)
HSLhsl(106, 65%, 38%)
HSVhsv(106, 79%, 63%)
CMYKcmyk(60%, 0%, 78.8%, 37.3%)
CIE-LABlab(58.36, -50.49, 52.92)
CIE-LCHlch(58.36, 73.15, 133.65°)
OKLaboklab(62.44% -0.1388 0.1181)
OKLCHoklch(62.44% 0.182 139.6)
XYZxyz(14.9732, 26.3457, 5.8092)
Luminance0.2635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A022 #8222A0
analogous
#7FA022 #40A022 #22A043
triadic
#40A022 #2240A0 #A02240
tetradic
#40A022 #227FA0 #8222A0 #A04322
square
#40A022 #227FA0 #8222A0 #A04322
split-complementary
#40A022 #4322A0 #A0227F
monochromatic
#183B0D #2C6E17 #40A022 #54D22D #7DDD5F

Accessibility & contrast

On white

3.35
#40A022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#40A022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A022
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A022#FFFFFF#000000##000000
##40A0221.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#998930
Tritanopia (blue-blind)
#349B88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a022;
/* rgb */ color: rgb(64, 160, 34);
/* oklch */ color: oklch(62.4% 0.182 139.6);
Tailwind
colors: {
  custom: {
    50: '#81bd67',
    500: '#40a022',
    950: '#000000',
  },
}
SCSS
$custom: #40a022;
$custom-light: #81bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#40a022",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 105.714,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.18225,
    "h": 139.6
  },
  "luminance": 0.26347
}

Semantic roles & 50–950 ramp

primary
#40A022
secondary
#AA5CC2
accent
#40E8C0
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A022

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

Preview Lab → · Contrast checker → · Palette generator →

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