#40AC4B#40AC4B

#40AC4B is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.168 H 145.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#40AC4B
RGBrgb(64, 172, 75)
HSLhsl(126, 46%, 46%)
HSVhsv(126, 63%, 67%)
CMYKcmyk(62.8%, 0%, 56.4%, 32.5%)
CIE-LABlab(62.59, -50.91, 40.41)
CIE-LCHlch(62.59, 65.00, 141.56°)
OKLaboklab(66.05% -0.1378 0.0962)
OKLCHoklch(66.05% 0.168 145.1)
XYZxyz(18.1357, 31.1013, 11.7027)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC4B #AC40A1
analogous
#6BAC40 #40AC4B #40AC81
triadic
#40AC4B #4B40AC #AC4B40
tetradic
#40AC4B #406BAC #AC40A1 #AC8140
square
#40AC4B #406BAC #AC40A1 #AC8140
split-complementary
#40AC4B #8140AC #AC406B
monochromatic
#1F5324 #2F7F38 #40AC4B #64C56E #91D698

Accessibility & contrast

On white

2.91
#40AC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#40AC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC4B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC4B#FFFFFF#000000##000000
##40AC4B1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#A19452
Tritanopia (blue-blind)
#27A896
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac4b;
/* rgb */ color: rgb(64, 172, 75);
/* oklch */ color: oklch(66.0% 0.168 145.1);
Tailwind
colors: {
  custom: {
    50: '#81c680',
    500: '#40ac4b',
    950: '#000000',
  },
}
SCSS
$custom: #40ac4b;
$custom-light: #81c680;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac4b",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 126.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66046,
    "c": 0.16807,
    "h": 145.1
  },
  "luminance": 0.31103
}

Semantic roles & 50–950 ramp

primary
#40AC4B
secondary
#C187BB
accent
#52C8D5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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