#40AB2B#40AB2B

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

Color values

HEX#40AB2B
RGBrgb(64, 171, 43)
HSLhsl(110, 60%, 42%)
HSVhsv(110, 75%, 67%)
CMYKcmyk(62.6%, 0%, 74.9%, 32.9%)
CIE-LABlab(61.99, -53.82, 53.40)
CIE-LCHlch(61.99, 75.82, 135.22°)
OKLaboklab(65.46% -0.1473 0.1203)
OKLCHoklch(65.46% 0.19 140.8)
XYZxyz(17.1125, 30.3886, 7.2488)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB2B #962BAB
analogous
#80AB2B #40AB2B #2BAB56
triadic
#40AB2B #2B40AB #AB2B40
tetradic
#40AB2B #2B80AB #962BAB #AB562B
square
#40AB2B #2B80AB #962BAB #AB562B
split-complementary
#40AB2B #562BAB #AB2B80
monochromatic
#1B4912 #2E7A1F #40AB2B #5AD043 #85DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AB2B#FFFFFF#000000##000000
##40AB2B1.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)
#B09B11
Deuteranopia (green-blind)
#A39239
Tritanopia (blue-blind)
#2FA592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab2b;
/* rgb */ color: rgb(64, 171, 43);
/* oklch */ color: oklch(65.5% 0.190 140.8);
Tailwind
colors: {
  custom: {
    50: '#82c56d',
    500: '#40ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #40ab2b;
$custom-light: #82c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab2b",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 110.156,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.19022,
    "h": 140.8
  },
  "luminance": 0.3039
}

Semantic roles & 50–950 ramp

primary
#40AB2B
secondary
#B66EC4
accent
#45E3C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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