#40AA28#40AA28

#40AA28 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.191 H 140.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#40AA28
RGBrgb(64, 170, 40)
HSLhsl(109, 62%, 41%)
HSVhsv(109, 76%, 67%)
CMYKcmyk(62.4%, 0%, 76.5%, 33.3%)
CIE-LABlab(61.65, -53.68, 54.11)
CIE-LCHlch(61.65, 76.22, 134.77°)
OKLaboklab(65.17% -0.1471 0.1214)
OKLCHoklch(65.17% 0.191 140.5)
XYZxyz(16.8713, 29.9910, 6.9068)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA28 #9228AA
analogous
#81AA28 #40AA28 #28AA51
triadic
#40AA28 #2840AA #AA2840
tetradic
#40AA28 #2881AA #9228AA #AA5128
square
#40AA28 #2881AA #9228AA #AA5128
split-complementary
#40AA28 #5128AA #AA2881
monochromatic
#1B4711 #2D781C #40AA28 #59D23E #84DD6F

Accessibility & contrast

On white

3.00
#40AA28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#40AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA28
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA28#FFFFFF#000000##000000
##40AA281.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#30A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa28;
/* rgb */ color: rgb(64, 170, 40);
/* oklch */ color: oklch(65.2% 0.191 140.5);
Tailwind
colors: {
  custom: {
    50: '#82c46c',
    500: '#40aa28',
    950: '#000000',
  },
}
SCSS
$custom: #40aa28;
$custom-light: #82c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa28",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 108.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.19073,
    "h": 140.5
  },
  "luminance": 0.29993
}

Semantic roles & 50–950 ramp

primary
#40AA28
secondary
#B36AC4
accent
#43E5C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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