#40532E#40532E

#40532E is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.6% C 0.063 H 130.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#40532E
RGBrgb(64, 83, 46)
HSLhsl(91, 29%, 25%)
HSVhsv(91, 45%, 33%)
CMYKcmyk(22.9%, 0%, 44.6%, 67.5%)
CIE-LABlab(32.86, -14.89, 19.31)
CIE-LCHlch(32.86, 24.39, 127.64°)
OKLaboklab(41.6% -0.0409 0.0473)
OKLCHoklch(41.6% 0.063 130.8)
XYZxyz(5.7007, 7.4737, 3.7265)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40532E #412E53
analogous
#52532E #40532E #2E532F
triadic
#40532E #2E4053 #532E40
tetradic
#40532E #2E5253 #412E53 #532F2E
square
#40532E #2E5253 #412E53 #532F2E
split-complementary
#40532E #2F2E53 #532E52
monochromatic
#0F140B #222C18 #40532E #5E7A44 #7DA25A

Accessibility & contrast

On white

8.42
#40532E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40532E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40532E#FFFFFF#000000##FFFFFF
##40532E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#534D30
Tritanopia (blue-blind)
#41504A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40532e;
/* rgb */ color: rgb(64, 83, 46);
/* oklch */ color: oklch(41.6% 0.063 130.8);
Tailwind
colors: {
  custom: {
    50: '#758367',
    500: '#40532e',
    950: '#000000',
  },
}
SCSS
$custom: #40532e;
$custom-light: #758367;
$custom-dark: #000000;
JSON
{
  "hex": "#40532e",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 46
  },
  "hsl": {
    "h": 90.811,
    "s": 28.682,
    "l": 25.294
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.06254,
    "h": 130.8
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#40532E
secondary
#6F5885
accent
#63C595
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #40532E

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

Preview Lab → · Contrast checker → · Palette generator →

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