#40A05F#40A05F

#40A05F is a light, vivid green. Relative luminance 0.271; OKLCH L 63.2% C 0.133 H 151.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#40A05F
RGBrgb(64, 160, 95)
HSLhsl(139, 43%, 44%)
HSVhsv(139, 60%, 63%)
CMYKcmyk(60%, 0%, 40.6%, 37.3%)
CIE-LABlab(59.03, -43.07, 25.69)
CIE-LCHlch(59.03, 50.15, 149.19°)
OKLaboklab(63.2% -0.1165 0.0638)
OKLCHoklch(63.2% 0.133 151.3)
XYZxyz(16.7495, 27.0562, 15.1640)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A05F #A04081
analogous
#51A040 #40A05F #40A08F
triadic
#40A05F #5F40A0 #A05F40
tetradic
#40A05F #4051A0 #A04081 #A08F40
square
#40A05F #4051A0 #A04081 #A08F40
split-complementary
#40A05F #8F40A0 #A04051
monochromatic
#1D492B #2F7445 #40A05F #5EBF7E #8AD0A1

Accessibility & contrast

On white

3.28
#40A05F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#40A05F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A05F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A05F#FFFFFF#000000##000000
##40A05F1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1935A
Deuteranopia (green-blind)
#948B63
Tritanopia (blue-blind)
#239E90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a05f;
/* rgb */ color: rgb(64, 160, 95);
/* oklch */ color: oklch(63.2% 0.133 151.3);
Tailwind
colors: {
  custom: {
    50: '#7ebd8d',
    500: '#40a05f',
    950: '#000000',
  },
}
SCSS
$custom: #40a05f;
$custom-light: #7ebd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a05f",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 95
  },
  "hsl": {
    "h": 139.375,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63201,
    "c": 0.13287,
    "h": 151.3
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#40A05F
secondary
#BB81A8
accent
#55AAD3
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A05F

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

Preview Lab → · Contrast checker → · Palette generator →

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