#40AC2B#40AC2B

#40AC2B is a light, vivid green. Relative luminance 0.308; OKLCH L 65.7% C 0.191 H 140.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#40AC2B
RGBrgb(64, 172, 43)
HSLhsl(110, 60%, 42%)
HSVhsv(110, 75%, 67%)
CMYKcmyk(62.8%, 0%, 75%, 32.5%)
CIE-LABlab(62.31, -54.18, 53.73)
CIE-LCHlch(62.31, 76.30, 135.24°)
OKLaboklab(65.72% -0.1483 0.121)
OKLCHoklch(65.72% 0.191 140.8)
XYZxyz(17.3021, 30.7678, 7.3120)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC2B #972BAC
analogous
#80AC2B #40AC2B #2BAC57
triadic
#40AC2B #2B40AC #AC2B40
tetradic
#40AC2B #2B80AC #972BAC #AC572B
square
#40AC2B #2B80AC #972BAC #AC572B
split-complementary
#40AC2B #572BAC #AC2B80
monochromatic
#1C4A13 #2E7B1F #40AC2B #5BD044 #86DC75

Accessibility & contrast

On white

2.94
#40AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#40AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC2B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC2B#FFFFFF#000000##000000
##40AC2B1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#A39339
Tritanopia (blue-blind)
#2FA693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac2b;
/* rgb */ color: rgb(64, 172, 43);
/* oklch */ color: oklch(65.7% 0.191 140.8);
Tailwind
colors: {
  custom: {
    50: '#82c66d',
    500: '#40ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #40ac2b;
$custom-light: #82c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac2b",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 110.233,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65722,
    "c": 0.19138,
    "h": 140.8
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#40AC2B
secondary
#B66FC4
accent
#45E3C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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