#56512E#56512E

#56512E is a dark, muted yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.053 H 101.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#56512E
RGBrgb(86, 81, 46)
HSLhsl(53, 30%, 26%)
HSVhsv(53, 47%, 34%)
CMYKcmyk(0%, 5.8%, 46.5%, 66.3%)
CIE-LABlab(34.11, -3.71, 21.28)
CIE-LCHlch(34.11, 21.60, 99.89°)
OKLaboklab(43.07% -0.0102 0.0516)
OKLCHoklch(43.07% 0.053 101.2)
XYZxyz(7.2735, 8.0608, 3.7570)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56512E #2E3356
analogous
#563D2E #56512E #47562E
triadic
#56512E #2E5651 #512E56
tetradic
#56512E #2E563D #2E3356 #562E47
square
#56512E #2E563D #2E3356 #562E47
split-complementary
#56512E #2E4756 #3D2E56
monochromatic
#14130B #2E2B19 #56512E #7E7743 #A69C59

Accessibility & contrast

On white

8.04
#56512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#56512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56512E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56512E#FFFFFF#000000##FFFFFF
##56512E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#5B4D48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56512e;
/* rgb */ color: rgb(86, 81, 46);
/* oklch */ color: oklch(43.1% 0.053 101.2);
Tailwind
colors: {
  custom: {
    50: '#868167',
    500: '#56512e',
    950: '#000000',
  },
}
SCSS
$custom: #56512e;
$custom-light: #868167;
$custom-dark: #000000;
JSON
{
  "hex": "#56512e",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 52.5,
    "s": 30.303,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.05261,
    "h": 101.2
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#56512E
secondary
#585E88
accent
#6EC761
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0B0A06
muted
#7C7C7A

Preview Lab

Preview with #56512E

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

Preview Lab → · Contrast checker → · Palette generator →

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