#40AA5E#40AA5E

#40AA5E is a light, vivid green. Relative luminance 0.306; OKLCH L 65.8% C 0.148 H 149.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#40AA5E
RGBrgb(64, 170, 94)
HSLhsl(137, 45%, 46%)
HSVhsv(137, 62%, 67%)
CMYKcmyk(62.4%, 0%, 44.7%, 33.3%)
CIE-LABlab(62.21, -47.29, 30.35)
CIE-LCHlch(62.21, 56.19, 147.31°)
OKLaboklab(65.81% -0.1277 0.0746)
OKLCHoklch(65.81% 0.148 149.7)
XYZxyz(18.5081, 30.6458, 15.5274)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA5E #AA408C
analogous
#57AA40 #40AA5E #40AA93
triadic
#40AA5E #5E40AA #AA5E40
tetradic
#40AA5E #4057AA #AA408C #AA9340
square
#40AA5E #4057AA #AA408C #AA9340
split-complementary
#40AA5E #9340AA #AA4057
monochromatic
#1F512D #2F7E45 #40AA5E #63C47E #8FD5A3

Accessibility & contrast

On white

2.95
#40AA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#40AA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA5E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA5E#FFFFFF#000000##000000
##40AA5E1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C58
Deuteranopia (green-blind)
#9D9363
Tritanopia (blue-blind)
#1FA798
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa5e;
/* rgb */ color: rgb(64, 170, 94);
/* oklch */ color: oklch(65.8% 0.148 149.7);
Tailwind
colors: {
  custom: {
    50: '#80c48d',
    500: '#40aa5e',
    950: '#000000',
  },
}
SCSS
$custom: #40aa5e;
$custom-light: #80c48d;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa5e",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 94
  },
  "hsl": {
    "h": 136.981,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65811,
    "c": 0.14794,
    "h": 149.7
  },
  "luminance": 0.30648
}

Semantic roles & 50–950 ramp

primary
#40AA5E
secondary
#C086B0
accent
#53B0D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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