#40A519#40A519

#40A519 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.192 H 139.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#40A519
RGBrgb(64, 165, 25)
HSLhsl(103, 74%, 37%)
HSVhsv(103, 85%, 65%)
CMYKcmyk(61.2%, 0%, 84.8%, 35.3%)
CIE-LABlab(59.95, -52.78, 56.98)
CIE-LCHlch(59.95, 77.67, 132.80°)
OKLaboklab(63.74% -0.1454 0.1253)
OKLCHoklch(63.74% 0.192 139.3)
XYZxyz(15.7443, 28.0690, 5.5077)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A519 #7E19A5
analogous
#86A519 #40A519 #19A538
triadic
#40A519 #1940A5 #A51940
tetradic
#40A519 #1986A5 #7E19A5 #A53819
square
#40A519 #1986A5 #7E19A5 #A53819
split-complementary
#40A519 #3819A5 #A51986
monochromatic
#173B09 #2B7011 #40A519 #55DA21 #7CE553

Accessibility & contrast

On white

3.18
#40A519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#40A519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A519
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A519#FFFFFF#000000##000000
##40A5191.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#349F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a519;
/* rgb */ color: rgb(64, 165, 25);
/* oklch */ color: oklch(63.7% 0.192 139.3);
Tailwind
colors: {
  custom: {
    50: '#82c165',
    500: '#40a519',
    950: '#000000',
  },
}
SCSS
$custom: #40a519;
$custom-light: #82c165;
$custom-dark: #000000;
JSON
{
  "hex": "#40a519",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 25
  },
  "hsl": {
    "h": 103.286,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6374,
    "c": 0.19195,
    "h": 139.3
  },
  "luminance": 0.2807
}

Semantic roles & 50–950 ramp

primary
#40A519
secondary
#A752C8
accent
#37F0BD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A519

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

Preview Lab → · Contrast checker → · Palette generator →

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