#40AA1B#40AA1B

#40AA1B is a light, vivid green. Relative luminance 0.299; OKLCH L 65.1% C 0.197 H 139.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#40AA1B
RGBrgb(64, 170, 27)
HSLhsl(104, 73%, 39%)
HSVhsv(104, 84%, 67%)
CMYKcmyk(62.4%, 0%, 84.1%, 33.3%)
CIE-LABlab(61.58, -54.44, 57.94)
CIE-LCHlch(61.58, 79.51, 133.21°)
OKLaboklab(65.09% -0.1498 0.1276)
OKLCHoklch(65.09% 0.197 139.6)
XYZxyz(16.6862, 29.9170, 5.9319)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA1B #851BAA
analogous
#87AA1B #40AA1B #1BAA3E
triadic
#40AA1B #1B40AA #AA1B40
tetradic
#40AA1B #1B87AA #851BAA #AA3E1B
square
#40AA1B #1B87AA #851BAA #AA3E1B
split-complementary
#40AA1B #3E1BAA #AA1B87
monochromatic
#18400A #2C7513 #40AA1B #55DC26 #7EE55B

Accessibility & contrast

On white

3.01
#40AA1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#40AA1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40AA1B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA1B#FFFFFF#000000##000000
##40AA1B1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#32A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa1b;
/* rgb */ color: rgb(64, 170, 27);
/* oklch */ color: oklch(65.1% 0.197 139.6);
Tailwind
colors: {
  custom: {
    50: '#83c466',
    500: '#40aa1b',
    950: '#000000',
  },
}
SCSS
$custom: #40aa1b;
$custom-light: #83c466;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa1b",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 104.476,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65093,
    "c": 0.19675,
    "h": 139.6
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

primary
#40AA1B
secondary
#AC58C9
accent
#39EFC0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1306
muted
#7D827A

Preview Lab

Preview with #40AA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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