#40A61E#40A61E

#40A61E is a light, vivid green. Relative luminance 0.285; OKLCH L 64.0% C 0.191 H 139.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#40A61E
RGBrgb(64, 166, 30)
HSLhsl(105, 69%, 38%)
HSVhsv(105, 82%, 65%)
CMYKcmyk(61.4%, 0%, 81.9%, 34.9%)
CIE-LABlab(60.30, -52.88, 55.96)
CIE-LCHlch(60.30, 76.99, 133.38°)
OKLaboklab(64.03% -0.1455 0.1238)
OKLCHoklch(64.03% 0.191 139.6)
XYZxyz(15.9842, 28.4547, 5.8780)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A61E #841EA6
analogous
#84A61E #40A61E #1EA640
triadic
#40A61E #1E40A6 #A61E40
tetradic
#40A61E #1E84A6 #841EA6 #A6401E
square
#40A61E #1E84A6 #841EA6 #A6401E
split-complementary
#40A61E #401EA6 #A61E84
monochromatic
#183E0B #2C7215 #40A61E #55D829 #7EE25D

Accessibility & contrast

On white

3.14
#40A61E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#40A61E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A61E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A61E#FFFFFF#000000##000000
##40A61E1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#33A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a61e;
/* rgb */ color: rgb(64, 166, 30);
/* oklch */ color: oklch(64.0% 0.191 139.6);
Tailwind
colors: {
  custom: {
    50: '#82c167',
    500: '#40a61e',
    950: '#000000',
  },
}
SCSS
$custom: #40a61e;
$custom-light: #82c167;
$custom-dark: #000000;
JSON
{
  "hex": "#40a61e",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 30
  },
  "hsl": {
    "h": 105,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.19104,
    "h": 139.6
  },
  "luminance": 0.28456
}

Semantic roles & 50–950 ramp

primary
#40A61E
secondary
#AB5AC6
accent
#3CECC0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A61E

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

Preview Lab → · Contrast checker → · Palette generator →

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