#40A45F#40A45F

#40A45F is a light, vivid green. Relative luminance 0.285; OKLCH L 64.3% C 0.139 H 150.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#40A45F
RGBrgb(64, 164, 95)
HSLhsl(139, 44%, 45%)
HSVhsv(139, 61%, 64%)
CMYKcmyk(61%, 0%, 42.1%, 35.7%)
CIE-LABlab(60.31, -44.71, 27.36)
CIE-LCHlch(60.31, 52.42, 148.53°)
OKLaboklab(64.25% -0.1209 0.0677)
OKLCHoklch(64.25% 0.139 150.7)
XYZxyz(17.4541, 28.4654, 15.3988)
Luminance0.2847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A45F #A44085
analogous
#53A440 #40A45F #40A491
triadic
#40A45F #5F40A4 #A45F40
tetradic
#40A45F #4053A4 #A44085 #A49140
square
#40A45F #4053A4 #A44085 #A49140
split-complementary
#40A45F #9140A4 #A44053
monochromatic
#1E4C2C #2F7846 #40A45F #60C17E #8CD2A2

Accessibility & contrast

On white

3.14
#40A45F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#40A45F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A45F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A45F#FFFFFF#000000##000000
##40A45F1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5975A
Deuteranopia (green-blind)
#988E64
Tritanopia (blue-blind)
#21A193
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a45f;
/* rgb */ color: rgb(64, 164, 95);
/* oklch */ color: oklch(64.3% 0.139 150.7);
Tailwind
colors: {
  custom: {
    50: '#7fc08d',
    500: '#40a45f',
    950: '#000000',
  },
}
SCSS
$custom: #40a45f;
$custom-light: #7fc08d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a45f",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 138.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.13857,
    "h": 150.7
  },
  "luminance": 0.28467
}

Semantic roles & 50–950 ramp

primary
#40A45F
secondary
#BD83AB
accent
#54ACD4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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