#40AA5F#40AA5F

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

Color values

HEX#40AA5F
RGBrgb(64, 170, 95)
HSLhsl(138, 45%, 46%)
HSVhsv(138, 62%, 67%)
CMYKcmyk(62.4%, 0%, 44.1%, 33.3%)
CIE-LABlab(62.22, -47.12, 29.85)
CIE-LCHlch(62.22, 55.78, 147.65°)
OKLaboklab(65.83% -0.1273 0.0735)
OKLCHoklch(65.83% 0.147 150)
XYZxyz(18.5532, 30.6638, 15.7652)
Luminance0.3067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA5F #AA408B
analogous
#56AA40 #40AA5F #40AA94
triadic
#40AA5F #5F40AA #AA5F40
tetradic
#40AA5F #4056AA #AA408B #AA9440
square
#40AA5F #4056AA #AA408B #AA9440
split-complementary
#40AA5F #9440AA #AA4056
monochromatic
#1F512D #2F7E46 #40AA5F #63C47F #8FD5A4

Accessibility & contrast

On white

2.94
#40AA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AA5F#FFFFFF#000000##000000
##40AA5F1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C59
Deuteranopia (green-blind)
#9D9364
Tritanopia (blue-blind)
#1EA798
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa5f;
/* rgb */ color: rgb(64, 170, 95);
/* oklch */ color: oklch(65.8% 0.147 150.0);
Tailwind
colors: {
  custom: {
    50: '#80c48d',
    500: '#40aa5f',
    950: '#000000',
  },
}
SCSS
$custom: #40aa5f;
$custom-light: #80c48d;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa5f",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 95
  },
  "hsl": {
    "h": 137.547,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.14699,
    "h": 150
  },
  "luminance": 0.30666
}

Semantic roles & 50–950 ramp

primary
#40AA5F
secondary
#C086AF
accent
#53AFD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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