#40A722#40A722

#40A722 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.3% C 0.190 H 139.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40A722
RGBrgb(64, 167, 34)
HSLhsl(106, 66%, 39%)
HSVhsv(106, 80%, 65%)
CMYKcmyk(61.7%, 0%, 79.6%, 34.5%)
CIE-LABlab(60.64, -53.01, 55.09)
CIE-LCHlch(60.64, 76.45, 133.90°)
OKLaboklab(64.33% -0.1456 0.1226)
OKLCHoklch(64.33% 0.19 139.9)
XYZxyz(16.2211, 28.8414, 6.2252)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A722 #8922A7
analogous
#83A722 #40A722 #22A747
triadic
#40A722 #2240A7 #A72240
tetradic
#40A722 #2283A7 #8922A7 #A74722
square
#40A722 #2283A7 #8922A7 #A74722
split-complementary
#40A722 #4722A7 #A72283
monochromatic
#19410D #2D7418 #40A722 #56D531 #80DF64

Accessibility & contrast

On white

3.10
#40A722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#40A722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A722
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A722#FFFFFF#000000##000000
##40A7221.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#32A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a722;
/* rgb */ color: rgb(64, 167, 34);
/* oklch */ color: oklch(64.3% 0.190 139.9);
Tailwind
colors: {
  custom: {
    50: '#82c268',
    500: '#40a722',
    950: '#000000',
  },
}
SCSS
$custom: #40a722;
$custom-light: #82c268;
$custom-dark: #000000;
JSON
{
  "hex": "#40a722",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 106.466,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.19034,
    "h": 139.9
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#40A722
secondary
#AE60C5
accent
#3FE9C3
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A722

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

Preview Lab → · Contrast checker → · Palette generator →

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