#40532F#40532F

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

Color values

HEX#40532F
RGBrgb(64, 83, 47)
HSLhsl(92, 28%, 25%)
HSVhsv(92, 43%, 33%)
CMYKcmyk(22.9%, 0%, 43.4%, 67.5%)
CIE-LABlab(32.88, -14.74, 18.74)
CIE-LCHlch(32.88, 23.84, 128.19°)
OKLaboklab(41.62% -0.0404 0.046)
OKLCHoklch(41.62% 0.061 131.3)
XYZxyz(5.7206, 7.4816, 3.8315)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40532F #422F53
analogous
#52532F #40532F #2F5330
triadic
#40532F #2F4053 #532F40
tetradic
#40532F #2F5253 #422F53 #53302F
square
#40532F #2F5253 #422F53 #53302F
split-complementary
#40532F #302F53 #532F52
monochromatic
#0F140B #222C19 #40532F #5E7A45 #7CA15B

Accessibility & contrast

On white

8.41
#40532F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#40532F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40532F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40532F#FFFFFF#000000##FFFFFF
##40532F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40532f;
/* rgb */ color: rgb(64, 83, 47);
/* oklch */ color: oklch(41.6% 0.061 131.3);
Tailwind
colors: {
  custom: {
    50: '#758368',
    500: '#40532f',
    950: '#000000',
  },
}
SCSS
$custom: #40532f;
$custom-light: #758368;
$custom-dark: #000000;
JSON
{
  "hex": "#40532f",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 47
  },
  "hsl": {
    "h": 91.667,
    "s": 27.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.06127,
    "h": 131.3
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#40532F
secondary
#705984
accent
#64C497
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #40532F

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

Preview Lab → · Contrast checker → · Palette generator →

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