#40AE2B#40AE2B

#40AE2B is a light, vivid green. Relative luminance 0.315; OKLCH L 66.3% C 0.194 H 140.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40AE2B
RGBrgb(64, 174, 43)
HSLhsl(110, 60%, 43%)
HSVhsv(110, 75%, 68%)
CMYKcmyk(63.2%, 0%, 75.3%, 31.8%)
CIE-LABlab(62.96, -54.88, 54.37)
CIE-LCHlch(62.96, 77.25, 135.27°)
OKLaboklab(66.26% -0.1502 0.1223)
OKLCHoklch(66.26% 0.194 140.8)
XYZxyz(17.6856, 31.5348, 7.4398)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE2B #992BAE
analogous
#81AE2B #40AE2B #2BAE58
triadic
#40AE2B #2B40AE #AE2B40
tetradic
#40AE2B #2B81AE #992BAE #AE582B
square
#40AE2B #2B81AE #992BAE #AE582B
split-complementary
#40AE2B #582BAE #AE2B81
monochromatic
#1C4C13 #2E7D1F #40AE2B #5CD145 #87DD76

Accessibility & contrast

On white

2.87
#40AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#40AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE2B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE2B#FFFFFF#000000##000000
##40AE2B1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#2EA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae2b;
/* rgb */ color: rgb(64, 174, 43);
/* oklch */ color: oklch(66.3% 0.194 140.8);
Tailwind
colors: {
  custom: {
    50: '#83c76e',
    500: '#40ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #40ae2b;
$custom-light: #83c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae2b",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 110.382,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.1937,
    "h": 140.8
  },
  "luminance": 0.31537
}

Semantic roles & 50–950 ramp

primary
#40AE2B
secondary
#B770C5
accent
#44E4CA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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