#40A45E#40A45E

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

Color values

HEX#40A45E
RGBrgb(64, 164, 94)
HSLhsl(138, 44%, 45%)
HSVhsv(138, 61%, 64%)
CMYKcmyk(61%, 0%, 42.7%, 35.7%)
CIE-LABlab(60.29, -44.89, 27.87)
CIE-LCHlch(60.29, 52.84, 148.16°)
OKLaboklab(64.24% -0.1213 0.0689)
OKLCHoklch(64.24% 0.14 150.4)
XYZxyz(17.4089, 28.4474, 15.1610)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A45E #A44086
analogous
#54A440 #40A45E #40A490
triadic
#40A45E #5E40A4 #A45E40
tetradic
#40A45E #4054A4 #A44086 #A49040
square
#40A45E #4054A4 #A44086 #A49040
split-complementary
#40A45E #9040A4 #A44054
monochromatic
#1E4C2C #2F7845 #40A45E #60C17D #8CD2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A45E#FFFFFF#000000##000000
##40A45E1.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)
#A59759
Deuteranopia (green-blind)
#988E63
Tritanopia (blue-blind)
#22A193
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a45e;
/* rgb */ color: rgb(64, 164, 94);
/* oklch */ color: oklch(64.2% 0.140 150.4);
Tailwind
colors: {
  custom: {
    50: '#7fc08c',
    500: '#40a45e',
    950: '#000000',
  },
}
SCSS
$custom: #40a45e;
$custom-light: #7fc08c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a45e",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 138,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.13954,
    "h": 150.4
  },
  "luminance": 0.28449
}

Semantic roles & 50–950 ramp

primary
#40A45E
secondary
#BD83AC
accent
#54ADD4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A45E

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

Preview Lab → · Contrast checker → · Palette generator →

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