#40523A#40523A

#40523A is a dark, muted green. Relative luminance 0.074; OKLCH L 41.6% C 0.045 H 138.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#40523A
RGBrgb(64, 82, 58)
HSLhsl(105, 17%, 27%)
HSVhsv(105, 29%, 32%)
CMYKcmyk(22%, 0%, 29.3%, 67.8%)
CIE-LABlab(32.77, -12.28, 11.86)
CIE-LCHlch(32.77, 17.07, 135.98°)
OKLaboklab(41.6% -0.0334 0.0301)
OKLCHoklch(41.6% 0.045 138)
XYZxyz(5.8952, 7.4299, 5.1257)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40523A #4C3A52
analogous
#4C523A #40523A #3A5240
triadic
#40523A #3A4052 #523A40
tetradic
#40523A #3A4C52 #4C3A52 #52403A
square
#40523A #3A4C52 #4C3A52 #52403A
split-complementary
#40523A #403A52 #523A4C
monochromatic
#0E120D #242E21 #40523A #5C7653 #79986E

Accessibility & contrast

On white

8.45
#40523A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40523A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40523A#FFFFFF#000000##FFFFFF
##40523A1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E39
Deuteranopia (green-blind)
#514C3B
Tritanopia (blue-blind)
#3F504C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40523a;
/* rgb */ color: rgb(64, 82, 58);
/* oklch */ color: oklch(41.6% 0.045 138.0);
Tailwind
colors: {
  custom: {
    50: '#758270',
    500: '#40523a',
    950: '#000000',
  },
}
SCSS
$custom: #40523a;
$custom-light: #758270;
$custom-dark: #000000;
JSON
{
  "hex": "#40523a",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 58
  },
  "hsl": {
    "h": 105,
    "s": 17.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.04492,
    "h": 138
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#40523A
secondary
#7B6682
accent
#6EBAA7
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #40523A

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

Preview Lab → · Contrast checker → · Palette generator →

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