#40A625#40A625

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

Color values

HEX#40A625
RGBrgb(64, 166, 37)
HSLhsl(107, 64%, 40%)
HSVhsv(107, 78%, 65%)
CMYKcmyk(61.4%, 0%, 77.7%, 34.9%)
CIE-LABlab(60.33, -52.46, 53.84)
CIE-LCHlch(60.33, 75.17, 134.26°)
OKLaboklab(64.07% -0.144 0.1204)
OKLCHoklch(64.07% 0.188 140.1)
XYZxyz(16.0838, 28.4945, 6.4023)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A625 #8B25A6
analogous
#81A625 #40A625 #25A64B
triadic
#40A625 #2540A6 #A62540
tetradic
#40A625 #2581A6 #8B25A6 #A64B25
square
#40A625 #2581A6 #8B25A6 #A64B25
split-complementary
#40A625 #4B25A6 #A62581
monochromatic
#19420F #2D741A #40A625 #57D236 #81DD68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A625#FFFFFF#000000##000000
##40A6251.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)
#AB9703
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#32A08E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a625;
/* rgb */ color: rgb(64, 166, 37);
/* oklch */ color: oklch(64.1% 0.188 140.1);
Tailwind
colors: {
  custom: {
    50: '#81c16a',
    500: '#40a625',
    950: '#000000',
  },
}
SCSS
$custom: #40a625;
$custom-light: #81c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a625",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 107.442,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64074,
    "c": 0.18769,
    "h": 140.1
  },
  "luminance": 0.28496
}

Semantic roles & 50–950 ramp

primary
#40A625
secondary
#AF64C3
accent
#41E7C4
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A625

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

Preview Lab → · Contrast checker → · Palette generator →

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