#40AB28#40AB28

#40AB28 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.4% C 0.192 H 140.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#40AB28
RGBrgb(64, 171, 40)
HSLhsl(109, 62%, 41%)
HSVhsv(109, 77%, 67%)
CMYKcmyk(62.6%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.97, -54.04, 54.43)
CIE-LCHlch(61.97, 76.70, 134.79°)
OKLaboklab(65.43% -0.1481 0.1221)
OKLCHoklch(65.43% 0.192 140.5)
XYZxyz(17.0594, 30.3674, 6.9696)
Luminance0.3037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB28 #9328AB
analogous
#82AB28 #40AB28 #28AB52
triadic
#40AB28 #2840AB #AB2840
tetradic
#40AB28 #2882AB #9328AB #AB5228
square
#40AB28 #2882AB #9328AB #AB5228
split-complementary
#40AB28 #5228AB #AB2882
monochromatic
#1B4811 #2D791C #40AB28 #59D23E #84DE70

Accessibility & contrast

On white

2.97
#40AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#40AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB28
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB28#FFFFFF#000000##000000
##40AB281.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#30A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab28;
/* rgb */ color: rgb(64, 171, 40);
/* oklch */ color: oklch(65.4% 0.192 140.5);
Tailwind
colors: {
  custom: {
    50: '#82c56c',
    500: '#40ab28',
    950: '#000000',
  },
}
SCSS
$custom: #40ab28;
$custom-light: #82c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab28",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 109.008,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.19188,
    "h": 140.5
  },
  "luminance": 0.30369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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