#40A725#40A725

#40A725 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.189 H 140.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40A725
RGBrgb(64, 167, 37)
HSLhsl(108, 64%, 40%)
HSVhsv(108, 78%, 65%)
CMYKcmyk(61.7%, 0%, 77.8%, 34.5%)
CIE-LABlab(60.66, -52.82, 54.15)
CIE-LCHlch(60.66, 75.65, 134.29°)
OKLaboklab(64.34% -0.1449 0.1211)
OKLCHoklch(64.34% 0.189 140.1)
XYZxyz(16.2662, 28.8595, 6.4631)
Luminance0.2886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A725 #8C25A7
analogous
#81A725 #40A725 #25A74B
triadic
#40A725 #2540A7 #A72540
tetradic
#40A725 #2581A7 #8C25A7 #A74B25
square
#40A725 #2581A7 #8C25A7 #A74B25
split-complementary
#40A725 #4B25A7 #A72581
monochromatic
#1A430F #2D751A #40A725 #57D337 #81DE69

Accessibility & contrast

On white

3.10
#40A725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#40A725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A725
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A725#FFFFFF#000000##000000
##40A7251.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9702
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#32A18F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a725;
/* rgb */ color: rgb(64, 167, 37);
/* oklch */ color: oklch(64.3% 0.189 140.1);
Tailwind
colors: {
  custom: {
    50: '#82c26a',
    500: '#40a725',
    950: '#000000',
  },
}
SCSS
$custom: #40a725;
$custom-light: #82c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a725",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 107.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.64343,
    "c": 0.18884,
    "h": 140.1
  },
  "luminance": 0.28861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A725

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

Preview Lab → · Contrast checker → · Palette generator →

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