#40AC4E#40AC4E

#40AC4E is a light, vivid green. Relative luminance 0.311; OKLCH L 66.1% C 0.165 H 145.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#40AC4E
RGBrgb(64, 172, 78)
HSLhsl(128, 46%, 46%)
HSVhsv(128, 63%, 67%)
CMYKcmyk(62.8%, 0%, 54.7%, 32.5%)
CIE-LABlab(62.63, -50.51, 39.00)
CIE-LCHlch(62.63, 63.81, 142.33°)
OKLaboklab(66.09% -0.1366 0.0933)
OKLCHoklch(66.09% 0.165 145.7)
XYZxyz(18.2408, 31.1433, 12.2562)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC4E #AC409E
analogous
#68AC40 #40AC4E #40AC84
triadic
#40AC4E #4E40AC #AC4E40
tetradic
#40AC4E #4068AC #AC409E #AC8440
square
#40AC4E #4068AC #AC409E #AC8440
split-complementary
#40AC4E #8440AC #AC4068
monochromatic
#1F5326 #2F7F3A #40AC4E #64C571 #91D69A

Accessibility & contrast

On white

2.90
#40AC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#40AC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC4E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC4E#FFFFFF#000000##000000
##40AC4E1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D45
Deuteranopia (green-blind)
#A19455
Tritanopia (blue-blind)
#26A897
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac4e;
/* rgb */ color: rgb(64, 172, 78);
/* oklch */ color: oklch(66.1% 0.165 145.7);
Tailwind
colors: {
  custom: {
    50: '#81c682',
    500: '#40ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #40ac4e;
$custom-light: #81c682;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac4e",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 127.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66087,
    "c": 0.16545,
    "h": 145.7
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

primary
#40AC4E
secondary
#C187BA
accent
#52C4D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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