#56531D#56531D

#56531D is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.074 H 106.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#56531D
RGBrgb(86, 83, 29)
HSLhsl(57, 50%, 23%)
HSVhsv(57, 66%, 34%)
CMYKcmyk(0%, 3.5%, 66.3%, 66.3%)
CIE-LABlab(34.51, -6.60, 31.17)
CIE-LCHlch(34.51, 31.86, 101.95°)
OKLaboklab(43.31% -0.0206 0.0713)
OKLCHoklch(43.31% 0.074 106.1)
XYZxyz(7.1530, 8.2539, 2.3785)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56531D #1D2056
analogous
#56361D #56531D #3D561D
triadic
#56531D #1D5653 #531D56
tetradic
#56531D #1D5636 #1D2056 #561D3D
square
#56531D #1D5636 #1D2056 #561D3D
split-complementary
#56531D #1D3D56 #361D56
monochromatic
#171608 #28270E #56531D #847F2C #B2AB3C

Accessibility & contrast

On white

7.92
#56531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#56531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56531D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56531D#FFFFFF#000000##FFFFFF
##56531D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5017
Deuteranopia (green-blind)
#5C5220
Tritanopia (blue-blind)
#5C4D48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56531d;
/* rgb */ color: rgb(86, 83, 29);
/* oklch */ color: oklch(43.3% 0.074 106.1);
Tailwind
colors: {
  custom: {
    50: '#88835c',
    500: '#56531d',
    950: '#000000',
  },
}
SCSS
$custom: #56531d;
$custom-light: #88835c;
$custom-dark: #000000;
JSON
{
  "hex": "#56531d",
  "rgb": {
    "r": 86,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 56.842,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.07418,
    "h": 106.1
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#56531D
secondary
#44478B
accent
#56D94F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #56531D

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

Preview Lab → · Contrast checker → · Palette generator →

#56531D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva