#40AB2A#40AB2A

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

Color values

HEX#40AB2A
RGBrgb(64, 171, 42)
HSLhsl(110, 61%, 42%)
HSVhsv(110, 75%, 67%)
CMYKcmyk(62.6%, 0%, 75.4%, 32.9%)
CIE-LABlab(61.98, -53.90, 53.75)
CIE-LCHlch(61.98, 76.12, 135.08°)
OKLaboklab(65.45% -0.1476 0.1209)
OKLCHoklch(65.45% 0.191 140.7)
XYZxyz(17.0944, 30.3813, 7.1534)
Luminance0.3038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB2A #952AAB
analogous
#81AB2A #40AB2A #2AAB54
triadic
#40AB2A #2A40AB #AB2A40
tetradic
#40AB2A #2A81AB #952AAB #AB542A
square
#40AB2A #2A81AB #952AAB #AB542A
split-complementary
#40AB2A #542AAB #AB2A81
monochromatic
#1B4912 #2E7A1E #40AB2A #5AD142 #85DD73

Accessibility & contrast

On white

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

On black

7.08
#40AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB2A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB2A#FFFFFF#000000##000000
##40AB2A1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0E
Deuteranopia (green-blind)
#A39238
Tritanopia (blue-blind)
#2FA592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab2a;
/* rgb */ color: rgb(64, 171, 42);
/* oklch */ color: oklch(65.4% 0.191 140.7);
Tailwind
colors: {
  custom: {
    50: '#82c56d',
    500: '#40ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #40ab2a;
$custom-light: #82c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab2a",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 109.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.19078,
    "h": 140.7
  },
  "luminance": 0.30383
}

Semantic roles & 50–950 ramp

primary
#40AB2A
secondary
#B56DC4
accent
#44E4C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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