#40A119#40A119

#40A119 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.187 H 139.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#40A119
RGBrgb(64, 161, 25)
HSLhsl(103, 73%, 36%)
HSVhsv(103, 84%, 63%)
CMYKcmyk(60.2%, 0%, 84.5%, 36.9%)
CIE-LABlab(58.65, -51.35, 55.81)
CIE-LCHlch(58.65, 75.84, 132.62°)
OKLaboklab(62.66% -0.1416 0.1228)
OKLCHoklch(62.66% 0.187 139.1)
XYZxyz(15.0341, 26.6486, 5.2709)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A119 #7A19A1
analogous
#84A119 #40A119 #19A136
triadic
#40A119 #1940A1 #A11940
tetradic
#40A119 #1984A1 #7A19A1 #A13619
square
#40A119 #1984A1 #7A19A1 #A13619
split-complementary
#40A119 #3619A1 #A11984
monochromatic
#163709 #2B6C11 #40A119 #55D621 #7BE450

Accessibility & contrast

On white

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

On black

6.33
#40A119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A119
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A119#FFFFFF#000000##000000
##40A1191.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#359B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a119;
/* rgb */ color: rgb(64, 161, 25);
/* oklch */ color: oklch(62.7% 0.187 139.1);
Tailwind
colors: {
  custom: {
    50: '#81be64',
    500: '#40a119',
    950: '#000000',
  },
}
SCSS
$custom: #40a119;
$custom-light: #81be64;
$custom-dark: #000000;
JSON
{
  "hex": "#40a119",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 25
  },
  "hsl": {
    "h": 102.794,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62662,
    "c": 0.18744,
    "h": 139.1
  },
  "luminance": 0.2665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A119

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

Preview Lab → · Contrast checker → · Palette generator →

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