#40A03E#40A03E

#40A03E is a light, vivid green. Relative luminance 0.266; OKLCH L 62.7% C 0.163 H 143.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#40A03E
RGBrgb(64, 160, 62)
HSLhsl(119, 44%, 44%)
HSVhsv(119, 61%, 63%)
CMYKcmyk(60%, 0%, 61.2%, 37.3%)
CIE-LABlab(58.58, -47.99, 41.90)
CIE-LCHlch(58.58, 63.70, 138.87°)
OKLaboklab(62.69% -0.1305 0.0983)
OKLCHoklch(62.69% 0.163 143)
XYZxyz(15.5538, 26.5780, 8.8669)
Luminance0.2658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A03E #9E3EA0
analogous
#71A03E #40A03E #3EA06D
triadic
#40A03E #3E40A0 #A03E40
tetradic
#40A03E #3E71A0 #9E3EA0 #A06D3E
square
#40A03E #3E71A0 #9E3EA0 #A06D3E
split-complementary
#40A03E #6D3EA0 #A03E71
monochromatic
#1D481C #2E742D #40A03E #5EC05C #89D188

Accessibility & contrast

On white

3.32
#40A03E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#40A03E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A03E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A03E#FFFFFF#000000##000000
##40A03E1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39233
Deuteranopia (green-blind)
#978A46
Tritanopia (blue-blind)
#2F9C8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a03e;
/* rgb */ color: rgb(64, 160, 62);
/* oklch */ color: oklch(62.7% 0.163 143.0);
Tailwind
colors: {
  custom: {
    50: '#7fbd77',
    500: '#40a03e',
    950: '#000000',
  },
}
SCSS
$custom: #40a03e;
$custom-light: #7fbd77;
$custom-dark: #000000;
JSON
{
  "hex": "#40a03e",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 118.776,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.62691,
    "c": 0.16337,
    "h": 143
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#40A03E
secondary
#BA7FBB
accent
#54D4D1
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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