#40956A#40956A

#40956A is a mid, moderate green. Relative luminance 0.236; OKLCH L 60.6% C 0.106 H 158.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#40956A
RGBrgb(64, 149, 106)
HSLhsl(150, 40%, 42%)
HSVhsv(150, 57%, 58%)
CMYKcmyk(57%, 0%, 28.9%, 41.6%)
CIE-LABlab(55.71, -36.15, 15.15)
CIE-LCHlch(55.71, 39.19, 157.26°)
OKLaboklab(60.55% -0.0989 0.0385)
OKLCHoklch(60.55% 0.106 158.7)
XYZxyz(15.4620, 23.6241, 17.3780)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40956A #95406B
analogous
#419540 #40956A #409595
triadic
#40956A #6A4095 #956A40
tetradic
#40956A #404195 #95406B #959540
square
#40956A #404195 #95406B #959540
split-complementary
#40956A #954095 #954041
monochromatic
#1B3F2D #2E6A4C #40956A #5AB889 #85CBA7

Accessibility & contrast

On white

3.67
#40956A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#40956A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40956A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40956A#FFFFFF#000000##000000
##40956A1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948B67
Deuteranopia (green-blind)
#88826D
Tritanopia (blue-blind)
#219489
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40956a;
/* rgb */ color: rgb(64, 149, 106);
/* oklch */ color: oklch(60.6% 0.106 158.7);
Tailwind
colors: {
  custom: {
    50: '#7cb594',
    500: '#40956a',
    950: '#000000',
  },
}
SCSS
$custom: #40956a;
$custom-light: #7cb594;
$custom-dark: #000000;
JSON
{
  "hex": "#40956a",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 106
  },
  "hsl": {
    "h": 149.647,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.10618,
    "h": 158.7
  },
  "luminance": 0.23625
}

Semantic roles & 50–950 ramp

primary
#40956A
secondary
#B57C99
accent
#5895D0
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#0A110D
muted
#7C807E

Preview Lab

Preview with #40956A

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

Preview Lab → · Contrast checker → · Palette generator →

#40956A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva