#40AC3A#40AC3A

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

Color values

HEX#40AC3A
RGBrgb(64, 172, 58)
HSLhsl(117, 50%, 45%)
HSVhsv(117, 66%, 67%)
CMYKcmyk(62.8%, 0%, 66.3%, 32.5%)
CIE-LABlab(62.42, -52.88, 47.97)
CIE-LCHlch(62.42, 71.39, 137.79°)
OKLaboklab(65.85% -0.1439 0.1108)
OKLCHoklch(65.85% 0.182 142.4)
XYZxyz(17.6296, 30.8988, 9.0372)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC3A #A63AAC
analogous
#79AC3A #40AC3A #3AAC6D
triadic
#40AC3A #3A40AC #AC3A40
tetradic
#40AC3A #3A79AC #A63AAC #AC6D3A
square
#40AC3A #3A79AC #A63AAC #AC6D3A
split-complementary
#40AC3A #6D3AAC #AC3A79
monochromatic
#1E501B #2F7E2B #40AC3A #61C85B #8DD789

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AC3A#FFFFFF#000000##000000
##40AC3A1.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)
#B09C2B
Deuteranopia (green-blind)
#A39344
Tritanopia (blue-blind)
#2CA794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac3a;
/* rgb */ color: rgb(64, 172, 58);
/* oklch */ color: oklch(65.8% 0.182 142.4);
Tailwind
colors: {
  custom: {
    50: '#82c675',
    500: '#40ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #40ac3a;
$custom-light: #82c675;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac3a",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 116.842,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.18166,
    "h": 142.4
  },
  "luminance": 0.30901
}

Semantic roles & 50–950 ramp

primary
#40AC3A
secondary
#BE80C2
accent
#4FD9D2
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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