#56531B#56531B

#56531B is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.076 H 106.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#56531B
RGBrgb(86, 83, 27)
HSLhsl(57, 52%, 22%)
HSVhsv(57, 69%, 34%)
CMYKcmyk(0%, 3.5%, 68.6%, 66.3%)
CIE-LABlab(34.49, -6.75, 32.14)
CIE-LCHlch(34.49, 32.84, 101.86°)
OKLaboklab(43.29% -0.0213 0.073)
OKLCHoklch(43.29% 0.076 106.2)
XYZxyz(7.1291, 8.2443, 2.2525)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56531B #1B1E56
analogous
#56361B #56531B #3C561B
triadic
#56531B #1B5653 #531B56
tetradic
#56531B #1B5636 #1B1E56 #561B3C
square
#56531B #1B5636 #1B1E56 #561B3C
split-complementary
#56531B #1B3C56 #361B56
monochromatic
#171607 #27260C #56531B #85802A #B3AD38

Accessibility & contrast

On white

7.93
#56531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56531B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56531B#FFFFFF#000000##FFFFFF
##56531B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#5D4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56531b;
/* rgb */ color: rgb(86, 83, 27);
/* oklch */ color: oklch(43.3% 0.076 106.2);
Tailwind
colors: {
  custom: {
    50: '#88835a',
    500: '#56531b',
    950: '#000000',
  },
}
SCSS
$custom: #56531b;
$custom-light: #88835a;
$custom-dark: #000000;
JSON
{
  "hex": "#56531b",
  "rgb": {
    "r": 86,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 56.949,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4329,
    "c": 0.07602,
    "h": 106.2
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#56531B
secondary
#41458C
accent
#53DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56531B

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

Preview Lab → · Contrast checker → · Palette generator →

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