#40A027#40A027

#40A027 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.180 H 140.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#40A027
RGBrgb(64, 160, 39)
HSLhsl(108, 61%, 39%)
HSVhsv(108, 76%, 63%)
CMYKcmyk(60%, 0%, 75.6%, 37.3%)
CIE-LABlab(58.39, -50.15, 51.25)
CIE-LCHlch(58.39, 71.71, 134.38°)
OKLaboklab(62.47% -0.1376 0.1153)
OKLCHoklch(62.47% 0.18 140.1)
XYZxyz(15.0507, 26.3767, 6.2171)
Luminance0.2638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A027 #8727A0
analogous
#7DA027 #40A027 #27A04B
triadic
#40A027 #2740A0 #A02740
tetradic
#40A027 #277DA0 #8727A0 #A04B27
square
#40A027 #277DA0 #8727A0 #A04B27
split-complementary
#40A027 #4B27A0 #A0277D
monochromatic
#193E0F #2C6F1B #40A027 #56CE36 #7FDA67

Accessibility & contrast

On white

3.35
#40A027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#40A027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A027
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A027#FFFFFF#000000##000000
##40A0271.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910E
Deuteranopia (green-blind)
#998934
Tritanopia (blue-blind)
#349B89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a027;
/* rgb */ color: rgb(64, 160, 39);
/* oklch */ color: oklch(62.5% 0.180 140.1);
Tailwind
colors: {
  custom: {
    50: '#80bd6a',
    500: '#40a027',
    950: '#000000',
  },
}
SCSS
$custom: #40a027;
$custom-light: #80bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a027",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 107.603,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.17955,
    "h": 140.1
  },
  "luminance": 0.26378
}

Semantic roles & 50–950 ramp

primary
#40A027
secondary
#AD63C0
accent
#44E4C3
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A027

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

Preview Lab → · Contrast checker → · Palette generator →

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