#40A728#40A728

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

Color values

HEX#40A728
RGBrgb(64, 167, 40)
HSLhsl(109, 61%, 41%)
HSVhsv(109, 76%, 65%)
CMYKcmyk(61.7%, 0%, 76%, 34.5%)
CIE-LABlab(60.67, -52.62, 53.15)
CIE-LCHlch(60.67, 74.79, 134.71°)
OKLaboklab(64.36% -0.1442 0.1194)
OKLCHoklch(64.36% 0.187 140.4)
XYZxyz(16.3153, 28.8791, 6.7215)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A728 #8F28A7
analogous
#80A728 #40A728 #28A74F
triadic
#40A728 #2840A7 #A72840
tetradic
#40A728 #2880A7 #8F28A7 #A74F28
square
#40A728 #2880A7 #8F28A7 #A74F28
split-complementary
#40A728 #4F28A7 #A72880
monochromatic
#1A4410 #2D761C #40A728 #58D03C #82DC6D

Accessibility & contrast

On white

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

On black

6.78
#40A728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A728
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A728#FFFFFF#000000##000000
##40A7281.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#31A18F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a728;
/* rgb */ color: rgb(64, 167, 40);
/* oklch */ color: oklch(64.4% 0.187 140.4);
Tailwind
colors: {
  custom: {
    50: '#82c26b',
    500: '#40a728',
    950: '#000000',
  },
}
SCSS
$custom: #40a728;
$custom-light: #82c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a728",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 108.661,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.18724,
    "h": 140.4
  },
  "luminance": 0.28881
}

Semantic roles & 50–950 ramp

primary
#40A728
secondary
#B268C3
accent
#43E4C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A728

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

Preview Lab → · Contrast checker → · Palette generator →

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