#40532B#40532B

#40532B is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.5% C 0.066 H 129.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#40532B
RGBrgb(64, 83, 43)
HSLhsl(89, 32%, 25%)
HSVhsv(89, 48%, 33%)
CMYKcmyk(22.9%, 0%, 48.2%, 67.5%)
CIE-LABlab(32.81, -15.33, 21.02)
CIE-LCHlch(32.81, 26.02, 126.11°)
OKLaboklab(41.55% -0.0423 0.051)
OKLCHoklch(41.55% 0.066 129.7)
XYZxyz(5.6436, 7.4508, 3.4258)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40532B #3E2B53
analogous
#53522B #40532B #2C532B
triadic
#40532B #2B4053 #532B40
tetradic
#40532B #2B5352 #3E2B53 #532B2C
square
#40532B #2B5352 #3E2B53 #532B2C
split-complementary
#40532B #2B2C53 #522B53
monochromatic
#10140A #212B16 #40532B #5F7B40 #7EA455

Accessibility & contrast

On white

8.43
#40532B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#40532B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40532B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40532B#FFFFFF#000000##FFFFFF
##40532B1.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)
#564E28
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#415049
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40532b;
/* rgb */ color: rgb(64, 83, 43);
/* oklch */ color: oklch(41.5% 0.066 129.7);
Tailwind
colors: {
  custom: {
    50: '#768365',
    500: '#40532b',
    950: '#000000',
  },
}
SCSS
$custom: #40532b;
$custom-light: #768365;
$custom-dark: #000000;
JSON
{
  "hex": "#40532b",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 43
  },
  "hsl": {
    "h": 88.5,
    "s": 31.746,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.0663,
    "h": 129.7
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#40532B
secondary
#6C5585
accent
#60C891
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080A05
muted
#7B7C7A

Preview Lab

Preview with #40532B

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

Preview Lab → · Contrast checker → · Palette generator →

#40532B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva