#40AC5B#40AC5B

#40AC5B is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.154 H 148.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#40AC5B
RGBrgb(64, 172, 91)
HSLhsl(135, 46%, 46%)
HSVhsv(135, 63%, 67%)
CMYKcmyk(62.8%, 0%, 47.1%, 32.5%)
CIE-LABlab(62.80, -48.57, 32.67)
CIE-LCHlch(62.80, 58.54, 146.08°)
OKLaboklab(66.29% -0.1312 0.0798)
OKLCHoklch(66.29% 0.154 148.7)
XYZxyz(18.7539, 31.3485, 14.9580)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC5B #AC4091
analogous
#5BAC40 #40AC5B #40AC91
triadic
#40AC5B #5B40AC #AC5B40
tetradic
#40AC5B #405BAC #AC4091 #AC9140
square
#40AC5B #405BAC #AC4091 #AC9140
split-complementary
#40AC5B #9140AC #AC405B
monochromatic
#1F532C #2F7F43 #40AC5B #64C57C #91D6A2

Accessibility & contrast

On white

2.89
#40AC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#40AC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC5B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC5B#FFFFFF#000000##000000
##40AC5B1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E55
Deuteranopia (green-blind)
#A09461
Tritanopia (blue-blind)
#1FA999
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ac5b;
/* rgb */ color: rgb(64, 172, 91);
/* oklch */ color: oklch(66.3% 0.154 148.7);
Tailwind
colors: {
  custom: {
    50: '#80c68b',
    500: '#40ac5b',
    950: '#000000',
  },
}
SCSS
$custom: #40ac5b;
$custom-light: #80c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac5b",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 91
  },
  "hsl": {
    "h": 135,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.15354,
    "h": 148.7
  },
  "luminance": 0.3135
}

Semantic roles & 50–950 ramp

primary
#40AC5B
secondary
#C187B2
accent
#52B5D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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