#40A727#40A727

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

Color values

HEX#40A727
RGBrgb(64, 167, 39)
HSLhsl(108, 62%, 40%)
HSVhsv(108, 77%, 65%)
CMYKcmyk(61.7%, 0%, 76.6%, 34.5%)
CIE-LABlab(60.67, -52.69, 53.49)
CIE-LCHlch(60.67, 75.08, 134.56°)
OKLaboklab(64.36% -0.1445 0.12)
OKLCHoklch(64.36% 0.188 140.3)
XYZxyz(16.2985, 28.8724, 6.6331)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A727 #8E27A7
analogous
#80A727 #40A727 #27A74E
triadic
#40A727 #2740A7 #A72740
tetradic
#40A727 #2780A7 #8E27A7 #A74E27
square
#40A727 #2780A7 #8E27A7 #A74E27
split-complementary
#40A727 #4E27A7 #A72780
monochromatic
#1A4410 #2D751B #40A727 #58D13A #82DD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A727#FFFFFF#000000##000000
##40A7271.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)
#AC9808
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#31A18F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a727;
/* rgb */ color: rgb(64, 167, 39);
/* oklch */ color: oklch(64.4% 0.188 140.3);
Tailwind
colors: {
  custom: {
    50: '#82c26b',
    500: '#40a727',
    950: '#000000',
  },
}
SCSS
$custom: #40a727;
$custom-light: #82c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a727",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 108.281,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.18778,
    "h": 140.3
  },
  "luminance": 0.28874
}

Semantic roles & 50–950 ramp

primary
#40A727
secondary
#B167C3
accent
#43E5C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A727

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

Preview Lab → · Contrast checker → · Palette generator →

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