#40A02A#40A02A

#40A02A is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.178 H 140.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#40A02A
RGBrgb(64, 160, 42)
HSLhsl(109, 58%, 40%)
HSVhsv(109, 74%, 63%)
CMYKcmyk(60%, 0%, 73.8%, 37.3%)
CIE-LABlab(58.41, -49.93, 50.17)
CIE-LCHlch(58.41, 70.78, 134.86°)
OKLaboklab(62.5% -0.1369 0.1135)
OKLCHoklch(62.5% 0.178 140.3)
XYZxyz(15.1024, 26.3974, 6.4894)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A02A #8A2AA0
analogous
#7BA02A #40A02A #2AA04F
triadic
#40A02A #2A40A0 #A02A40
tetradic
#40A02A #2A7BA0 #8A2AA0 #A04F2A
square
#40A02A #2A7BA0 #8A2AA0 #A04F2A
split-complementary
#40A02A #4F2AA0 #A02A7B
monochromatic
#193F11 #2D701D #40A02A #56CC3C #80D86C

Accessibility & contrast

On white

3.34
#40A02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#40A02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A02A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A02A#FFFFFF#000000##000000
##40A02A1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49114
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#339B89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a02a;
/* rgb */ color: rgb(64, 160, 42);
/* oklch */ color: oklch(62.5% 0.178 140.3);
Tailwind
colors: {
  custom: {
    50: '#80bd6b',
    500: '#40a02a',
    950: '#000000',
  },
}
SCSS
$custom: #40a02a;
$custom-light: #80bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a02a",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 108.814,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62497,
    "c": 0.17777,
    "h": 140.3
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#40A02A
secondary
#AF67BF
accent
#46E2C5
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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