#40523C#40523C

#40523C is a dark, muted green. Relative luminance 0.075; OKLCH L 41.7% C 0.042 H 140.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#40523C
RGBrgb(64, 82, 60)
HSLhsl(109, 15%, 28%)
HSVhsv(109, 27%, 32%)
CMYKcmyk(22%, 0%, 26.8%, 67.8%)
CIE-LABlab(32.81, -11.90, 10.68)
CIE-LCHlch(32.81, 15.99, 138.08°)
OKLaboklab(41.65% -0.0324 0.0272)
OKLCHoklch(41.65% 0.042 140)
XYZxyz(5.9471, 7.4507, 5.3989)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40523C #4E3C52
analogous
#4B523C #40523C #3C5243
triadic
#40523C #3C4052 #523C40
tetradic
#40523C #3C4B52 #4E3C52 #52433C
square
#40523C #3C4B52 #4E3C52 #52433C
split-complementary
#40523C #433C52 #523C4B
monochromatic
#0E120D #242F22 #40523C #5C7556 #789771

Accessibility & contrast

On white

8.43
#40523C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#40523C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40523C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40523C#FFFFFF#000000##FFFFFF
##40523C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3B
Deuteranopia (green-blind)
#504D3D
Tritanopia (blue-blind)
#3F504C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40523c;
/* rgb */ color: rgb(64, 82, 60);
/* oklch */ color: oklch(41.7% 0.042 140.0);
Tailwind
colors: {
  custom: {
    50: '#758271',
    500: '#40523c',
    950: '#000000',
  },
}
SCSS
$custom: #40523c;
$custom-light: #758271;
$custom-dark: #000000;
JSON
{
  "hex": "#40523c",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 60
  },
  "hsl": {
    "h": 109.091,
    "s": 15.493,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41654,
    "c": 0.04227,
    "h": 140
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#40523C
secondary
#7D6882
accent
#70B8AB
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #40523C

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

Preview Lab → · Contrast checker → · Palette generator →

#40523C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva