#40543F#40543F

#40543F is a dark, muted green. Relative luminance 0.078; OKLCH L 42.3% C 0.042 H 143.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#40543F
RGBrgb(64, 84, 63)
HSLhsl(117, 14%, 29%)
HSVhsv(117, 25%, 33%)
CMYKcmyk(23.8%, 0%, 25%, 67.1%)
CIE-LABlab(33.54, -12.46, 9.82)
CIE-LCHlch(33.54, 15.86, 141.76°)
OKLaboklab(42.26% -0.034 0.0251)
OKLCHoklch(42.26% 0.042 143.6)
XYZxyz(6.1816, 7.7893, 5.8795)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40543F #533F54
analogous
#4B543F #40543F #3F5449
triadic
#40543F #3F4054 #543F40
tetradic
#40543F #3F4B54 #533F54 #54493F
square
#40543F #3F4B54 #533F54 #54493F
split-complementary
#40543F #493F54 #543F4B
monochromatic
#0D110D #253125 #40543F #5B7759 #779876

Accessibility & contrast

On white

8.21
#40543F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#40543F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40543F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40543F#FFFFFF#000000##FFFFFF
##40543F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503E
Deuteranopia (green-blind)
#524E40
Tritanopia (blue-blind)
#3E534E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40543f;
/* rgb */ color: rgb(64, 84, 63);
/* oklch */ color: oklch(42.3% 0.042 143.6);
Tailwind
colors: {
  custom: {
    50: '#758474',
    500: '#40543f',
    950: '#000000',
  },
}
SCSS
$custom: #40543f;
$custom-light: #758474;
$custom-dark: #000000;
JSON
{
  "hex": "#40543f",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 63
  },
  "hsl": {
    "h": 117.143,
    "s": 14.286,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.04226,
    "h": 143.6
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#40543F
secondary
#826B83
accent
#71B7B4
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #40543F

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

Preview Lab → · Contrast checker → · Palette generator →

#40543F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva