#56531F#56531F

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

Color values

HEX#56531F
RGBrgb(86, 83, 31)
HSLhsl(57, 47%, 23%)
HSVhsv(57, 64%, 34%)
CMYKcmyk(0%, 3.5%, 64%, 66.3%)
CIE-LABlab(34.53, -6.44, 30.17)
CIE-LCHlch(34.53, 30.85, 102.04°)
OKLaboklab(43.34% -0.0199 0.0695)
OKLCHoklch(43.34% 0.072 106)
XYZxyz(7.1786, 8.2641, 2.5131)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56531F #1F2256
analogous
#56371F #56531F #3D561F
triadic
#56531F #1F5653 #531F56
tetradic
#56531F #1F5637 #1F2256 #561F3D
square
#56531F #1F5637 #1F2256 #561F3D
split-complementary
#56531F #1F3D56 #371F56
monochromatic
#161608 #29280F #56531F #837E2F #B0AA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56531F#FFFFFF#000000##FFFFFF
##56531F1.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)
#5A5019
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#5C4E48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56531f;
/* rgb */ color: rgb(86, 83, 31);
/* oklch */ color: oklch(43.3% 0.072 106.0);
Tailwind
colors: {
  custom: {
    50: '#87835d',
    500: '#56531f',
    950: '#000000',
  },
}
SCSS
$custom: #56531f;
$custom-light: #87835d;
$custom-dark: #000000;
JSON
{
  "hex": "#56531f",
  "rgb": {
    "r": 86,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 56.727,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.07223,
    "h": 106
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#56531F
secondary
#464A8B
accent
#58D751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #56531F

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

Preview Lab → · Contrast checker → · Palette generator →

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