#40A325#40A325

#40A325 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.3% C 0.184 H 140.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#40A325
RGBrgb(64, 163, 37)
HSLhsl(107, 63%, 39%)
HSVhsv(107, 77%, 64%)
CMYKcmyk(60.7%, 0%, 77.3%, 36.1%)
CIE-LABlab(59.36, -51.38, 52.89)
CIE-LCHlch(59.36, 73.74, 134.17°)
OKLaboklab(63.27% -0.1411 0.1184)
OKLCHoklch(63.27% 0.184 140)
XYZxyz(15.5448, 27.4165, 6.2226)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A325 #8825A3
analogous
#7FA325 #40A325 #25A349
triadic
#40A325 #2540A3 #A32540
tetradic
#40A325 #257FA3 #8825A3 #A34925
square
#40A325 #257FA3 #8825A3 #A34925
split-complementary
#40A325 #4925A3 #A3257F
monochromatic
#193F0E #2C711A #40A325 #56D134 #7FDC66

Accessibility & contrast

On white

3.24
#40A325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#40A325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A325
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A325#FFFFFF#000000##000000
##40A3251.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89405
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#339E8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a325;
/* rgb */ color: rgb(64, 163, 37);
/* oklch */ color: oklch(63.3% 0.184 140.0);
Tailwind
colors: {
  custom: {
    50: '#81bf69',
    500: '#40a325',
    950: '#000000',
  },
}
SCSS
$custom: #40a325;
$custom-light: #81bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#40a325",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 107.143,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63268,
    "c": 0.18419,
    "h": 140
  },
  "luminance": 0.27418
}

Semantic roles & 50–950 ramp

primary
#40A325
secondary
#AD62C2
accent
#42E6C3
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A325

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

Preview Lab → · Contrast checker → · Palette generator →

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