#40A45C#40A45C

#40A45C is a light, vivid green. Relative luminance 0.284; OKLCH L 64.2% C 0.141 H 149.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#40A45C
RGBrgb(64, 164, 92)
HSLhsl(137, 44%, 45%)
HSVhsv(137, 61%, 64%)
CMYKcmyk(61%, 0%, 43.9%, 35.7%)
CIE-LABlab(60.26, -45.23, 28.89)
CIE-LCHlch(60.26, 53.67, 147.43°)
OKLaboklab(64.2% -0.1223 0.0712)
OKLCHoklch(64.2% 0.141 149.8)
XYZxyz(17.3203, 28.4119, 14.6944)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A45C #A44088
analogous
#56A440 #40A45C #40A48E
triadic
#40A45C #5C40A4 #A45C40
tetradic
#40A45C #4056A4 #A44088 #A48E40
square
#40A45C #4056A4 #A44088 #A48E40
split-complementary
#40A45C #8E40A4 #A44056
monochromatic
#1E4C2B #2F7843 #40A45C #60C17B #8CD2A0

Accessibility & contrast

On white

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

On black

6.68
#40A45C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A45C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A45C#FFFFFF#000000##000000
##40A45C1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59757
Deuteranopia (green-blind)
#988E61
Tritanopia (blue-blind)
#23A192
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a45c;
/* rgb */ color: rgb(64, 164, 92);
/* oklch */ color: oklch(64.2% 0.141 149.8);
Tailwind
colors: {
  custom: {
    50: '#7fc08b',
    500: '#40a45c',
    950: '#000000',
  },
}
SCSS
$custom: #40a45c;
$custom-light: #7fc08b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a45c",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 136.8,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64198,
    "c": 0.14148,
    "h": 149.8
  },
  "luminance": 0.28414
}

Semantic roles & 50–950 ramp

primary
#40A45C
secondary
#BD83AD
accent
#54B0D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A45C

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

Preview Lab → · Contrast checker → · Palette generator →

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