#40A527#40A527

#40A527 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.8% C 0.185 H 140.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#40A527
RGBrgb(64, 165, 39)
HSLhsl(108, 62%, 40%)
HSVhsv(108, 76%, 65%)
CMYKcmyk(61.2%, 0%, 76.4%, 35.3%)
CIE-LABlab(60.02, -51.97, 52.86)
CIE-LCHlch(60.02, 74.12, 134.52°)
OKLaboklab(63.82% -0.1425 0.1186)
OKLCHoklch(63.82% 0.185 140.2)
XYZxyz(15.9350, 28.1453, 6.5119)
Luminance0.2815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A527 #8C27A5
analogous
#7FA527 #40A527 #27A54D
triadic
#40A527 #2740A5 #A52740
tetradic
#40A527 #277FA5 #8C27A5 #A54D27
square
#40A527 #277FA5 #8C27A5 #A54D27
split-complementary
#40A527 #4D27A5 #A5277F
monochromatic
#1A4210 #2D741B #40A527 #57D039 #81DC6A

Accessibility & contrast

On white

3.17
#40A527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#40A527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A527
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A527#FFFFFF#000000##000000
##40A5271.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960A
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#32A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a527;
/* rgb */ color: rgb(64, 165, 39);
/* oklch */ color: oklch(63.8% 0.185 140.2);
Tailwind
colors: {
  custom: {
    50: '#81c16a',
    500: '#40a527',
    950: '#000000',
  },
}
SCSS
$custom: #40a527;
$custom-light: #81c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a527",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 108.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.18545,
    "h": 140.2
  },
  "luminance": 0.28147
}

Semantic roles & 50–950 ramp

primary
#40A527
secondary
#B066C2
accent
#43E5C5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A527

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

Preview Lab → · Contrast checker → · Palette generator →

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