#40AC3B#40AC3B

#40AC3B is a light, vivid green. Relative luminance 0.309; OKLCH L 65.9% C 0.181 H 142.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#40AC3B
RGBrgb(64, 172, 59)
HSLhsl(117, 49%, 45%)
HSVhsv(117, 66%, 67%)
CMYKcmyk(62.8%, 0%, 65.7%, 32.5%)
CIE-LABlab(62.43, -52.78, 47.55)
CIE-LCHlch(62.43, 71.04, 137.98°)
OKLaboklab(65.86% -0.1436 0.1101)
OKLCHoklch(65.86% 0.181 142.5)
XYZxyz(17.6553, 30.9091, 9.1725)
Luminance0.3091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC3B #A73BAC
analogous
#78AC3B #40AC3B #3BAC6E
triadic
#40AC3B #3B40AC #AC3B40
tetradic
#40AC3B #3B78AC #A73BAC #AC6E3B
square
#40AC3B #3B78AC #A73BAC #AC6E3B
split-complementary
#40AC3B #6E3BAC #AC3B78
monochromatic
#1E511C #2F7E2B #40AC3B #62C75D #8ED78A

Accessibility & contrast

On white

2.92
#40AC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#40AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC3B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC3B#FFFFFF#000000##000000
##40AC3B1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2D
Deuteranopia (green-blind)
#A39345
Tritanopia (blue-blind)
#2CA795
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac3b;
/* rgb */ color: rgb(64, 172, 59);
/* oklch */ color: oklch(65.9% 0.181 142.5);
Tailwind
colors: {
  custom: {
    50: '#82c676',
    500: '#40ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #40ac3b;
$custom-light: #82c676;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac3b",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 117.345,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.18093,
    "h": 142.5
  },
  "luminance": 0.30911
}

Semantic roles & 50–950 ramp

primary
#40AC3B
secondary
#BF81C1
accent
#4FD8D2
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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