#40A825#40A825

#40A825 is a light, vivid green. Relative luminance 0.292; OKLCH L 64.6% C 0.190 H 140.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#40A825
RGBrgb(64, 168, 37)
HSLhsl(108, 64%, 40%)
HSVhsv(108, 78%, 66%)
CMYKcmyk(61.9%, 0%, 78%, 34.1%)
CIE-LABlab(60.98, -53.18, 54.46)
CIE-LCHlch(60.98, 76.12, 134.31°)
OKLaboklab(64.61% -0.1459 0.1217)
OKLCHoklch(64.61% 0.19 140.2)
XYZxyz(16.4502, 29.2273, 6.5244)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A825 #8D25A8
analogous
#81A825 #40A825 #25A84C
triadic
#40A825 #2540A8 #A82540
tetradic
#40A825 #2581A8 #8D25A8 #A84C25
square
#40A825 #2581A8 #8D25A8 #A84C25
split-complementary
#40A825 #4C25A8 #A82581
monochromatic
#1A440F #2D761A #40A825 #57D337 #81DE69

Accessibility & contrast

On white

3.07
#40A825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#40A825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A825
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A825#FFFFFF#000000##000000
##40A8251.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9801
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#31A28F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a825;
/* rgb */ color: rgb(64, 168, 37);
/* oklch */ color: oklch(64.6% 0.190 140.2);
Tailwind
colors: {
  custom: {
    50: '#82c36a',
    500: '#40a825',
    950: '#000000',
  },
}
SCSS
$custom: #40a825;
$custom-light: #82c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a825",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 107.634,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.19,
    "h": 140.2
  },
  "luminance": 0.29229
}

Semantic roles & 50–950 ramp

primary
#40A825
secondary
#B065C4
accent
#41E7C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40A825

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

Preview Lab → · Contrast checker → · Palette generator →

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