#40A626#40A626

#40A626 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.187 H 140.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#40A626
RGBrgb(64, 166, 38)
HSLhsl(108, 63%, 40%)
HSVhsv(108, 77%, 65%)
CMYKcmyk(61.4%, 0%, 77.1%, 34.9%)
CIE-LABlab(60.34, -52.40, 53.51)
CIE-LCHlch(60.34, 74.89, 134.40°)
OKLaboklab(64.08% -0.1437 0.1199)
OKLCHoklch(64.08% 0.187 140.2)
XYZxyz(16.0997, 28.5009, 6.4861)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A626 #8C26A6
analogous
#80A626 #40A626 #26A64C
triadic
#40A626 #2640A6 #A62640
tetradic
#40A626 #2680A6 #8C26A6 #A64C26
square
#40A626 #2680A6 #8C26A6 #A64C26
split-complementary
#40A626 #4C26A6 #A62680
monochromatic
#1A420F #2D741B #40A626 #57D138 #81DD6A

Accessibility & contrast

On white

3.13
#40A626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#40A626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A626
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A626#FFFFFF#000000##000000
##40A6261.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#32A08E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a626;
/* rgb */ color: rgb(64, 166, 38);
/* oklch */ color: oklch(64.1% 0.187 140.2);
Tailwind
colors: {
  custom: {
    50: '#81c16a',
    500: '#40a626',
    950: '#000000',
  },
}
SCSS
$custom: #40a626;
$custom-light: #81c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a626",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 107.813,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.18716,
    "h": 140.2
  },
  "luminance": 0.28502
}

Semantic roles & 50–950 ramp

primary
#40A626
secondary
#B065C3
accent
#42E6C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A626

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

Preview Lab → · Contrast checker → · Palette generator →

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