#56531A#56531A

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

Color values

HEX#56531A
RGBrgb(86, 83, 26)
HSLhsl(57, 54%, 22%)
HSVhsv(57, 70%, 34%)
CMYKcmyk(0%, 3.5%, 69.8%, 66.3%)
CIE-LABlab(34.48, -6.82, 32.62)
CIE-LCHlch(34.48, 33.32, 101.82°)
OKLaboklab(43.28% -0.0216 0.0738)
OKLCHoklch(43.28% 0.077 106.3)
XYZxyz(7.1177, 8.2398, 2.1926)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56531A #1A1D56
analogous
#56351A #56531A #3B561A
triadic
#56531A #1A5653 #531A56
tetradic
#56531A #1A5635 #1A1D56 #561A3B
square
#56531A #1A5635 #1A1D56 #561A3B
split-complementary
#56531A #1A3B56 #351A56
monochromatic
#171707 #27260C #56531A #858028 #B4AE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56531A#FFFFFF#000000##FFFFFF
##56531A1.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)
#5A5013
Deuteranopia (green-blind)
#5C521D
Tritanopia (blue-blind)
#5D4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56531a;
/* rgb */ color: rgb(86, 83, 26);
/* oklch */ color: oklch(43.3% 0.077 106.3);
Tailwind
colors: {
  custom: {
    50: '#88835a',
    500: '#56531a',
    950: '#000000',
  },
}
SCSS
$custom: #56531a;
$custom-light: #88835a;
$custom-dark: #000000;
JSON
{
  "hex": "#56531a",
  "rgb": {
    "r": 86,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 57,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.07691,
    "h": 106.3
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#56531A
secondary
#40448C
accent
#52DD4B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56531A

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

Preview Lab → · Contrast checker → · Palette generator →

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