#40A95C#40A95C

#40A95C is a light, vivid green. Relative luminance 0.302; OKLCH L 65.5% C 0.148 H 149.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#40A95C
RGBrgb(64, 169, 92)
HSLhsl(136, 45%, 46%)
HSVhsv(136, 62%, 66%)
CMYKcmyk(62.1%, 0%, 45.6%, 33.7%)
CIE-LABlab(61.86, -47.23, 30.95)
CIE-LCHlch(61.86, 56.47, 146.77°)
OKLaboklab(65.51% -0.1276 0.0759)
OKLCHoklch(65.51% 0.148 149.2)
XYZxyz(18.2328, 30.2368, 14.9986)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A95C #A9408D
analogous
#58A940 #40A95C #40A990
triadic
#40A95C #5C40A9 #A95C40
tetradic
#40A95C #4058A9 #A9408D #A99040
square
#40A95C #4058A9 #A9408D #A99040
split-complementary
#40A95C #9040A9 #A94058
monochromatic
#1E502C #2F7D44 #40A95C #62C47C #8FD5A1

Accessibility & contrast

On white

2.98
#40A95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#40A95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A95C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A95C#FFFFFF#000000##000000
##40A95C1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B56
Deuteranopia (green-blind)
#9D9261
Tritanopia (blue-blind)
#20A696
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a95c;
/* rgb */ color: rgb(64, 169, 92);
/* oklch */ color: oklch(65.5% 0.148 149.2);
Tailwind
colors: {
  custom: {
    50: '#80c38b',
    500: '#40a95c',
    950: '#000000',
  },
}
SCSS
$custom: #40a95c;
$custom-light: #80c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a95c",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 92
  },
  "hsl": {
    "h": 136,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65513,
    "c": 0.14847,
    "h": 149.2
  },
  "luminance": 0.30239
}

Semantic roles & 50–950 ramp

primary
#40A95C
secondary
#C085B0
accent
#53B2D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40A95C

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

Preview Lab → · Contrast checker → · Palette generator →

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