#40A019#40A019

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

Color values

HEX#40A019
RGBrgb(64, 160, 25)
HSLhsl(103, 73%, 36%)
HSVhsv(103, 84%, 63%)
CMYKcmyk(60%, 0%, 84.4%, 37.3%)
CIE-LABlab(58.32, -50.99, 55.52)
CIE-LCHlch(58.32, 75.38, 132.57°)
OKLaboklab(62.39% -0.1406 0.1222)
OKLCHoklch(62.39% 0.186 139)
XYZxyz(14.8600, 26.3005, 5.2129)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A019 #7919A0
analogous
#84A019 #40A019 #19A036
triadic
#40A019 #1940A0 #A01940
tetradic
#40A019 #1984A0 #7919A0 #A03619
square
#40A019 #1984A0 #7919A0 #A03619
split-complementary
#40A019 #3619A0 #A01984
monochromatic
#163608 #2B6B11 #40A019 #55D521 #7AE450

Accessibility & contrast

On white

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

On black

6.26
#40A019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A019
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A019#FFFFFF#000000##000000
##40A0191.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#359A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a019;
/* rgb */ color: rgb(64, 160, 25);
/* oklch */ color: oklch(62.4% 0.186 139.0);
Tailwind
colors: {
  custom: {
    50: '#81bd64',
    500: '#40a019',
    950: '#000000',
  },
}
SCSS
$custom: #40a019;
$custom-light: #81bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#40a019",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 25
  },
  "hsl": {
    "h": 102.667,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62392,
    "c": 0.18631,
    "h": 139
  },
  "luminance": 0.26302
}

Semantic roles & 50–950 ramp

primary
#40A019
secondary
#A44FC6
accent
#38F0BB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A019

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

Preview Lab → · Contrast checker → · Palette generator →

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