#56581C#56581C

#56581C is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.081 H 111.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#56581C
RGBrgb(86, 88, 28)
HSLhsl(62, 52%, 23%)
HSVhsv(62, 68%, 35%)
CMYKcmyk(2.3%, 0%, 68.2%, 65.5%)
CIE-LABlab(36.06, -9.60, 33.33)
CIE-LCHlch(36.06, 34.69, 106.07°)
OKLaboklab(44.55% -0.0292 0.0757)
OKLCHoklch(44.55% 0.081 111.1)
XYZxyz(7.5373, 9.0419, 2.4466)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56581C #1E1C58
analogous
#583C1C #56581C #38581C
triadic
#56581C #1C5658 #581C56
tetradic
#56581C #1C583C #1E1C58 #581C38
square
#56581C #1C583C #1E1C58 #581C38
split-complementary
#56581C #1C3858 #3C1C58
monochromatic
#171707 #292A0D #56581C #83862B #B1B53A

Accessibility & contrast

On white

7.48
#56581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#56581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56581C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56581C#FFFFFF#000000##FFFFFF
##56581C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#5F5620
Tritanopia (blue-blind)
#5C524C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #56581c;
/* rgb */ color: rgb(86, 88, 28);
/* oklch */ color: oklch(44.6% 0.081 111.1);
Tailwind
colors: {
  custom: {
    50: '#88875c',
    500: '#56581c',
    950: '#000000',
  },
}
SCSS
$custom: #56581c;
$custom-light: #88875c;
$custom-dark: #000000;
JSON
{
  "hex": "#56581c",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 62,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44552,
    "c": 0.0811,
    "h": 111.1
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#56581C
secondary
#45428E
accent
#4DDB51
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #56581C

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

Preview Lab → · Contrast checker → · Palette generator →

#56581C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva