#56581F#56581F

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

Color values

HEX#56581F
RGBrgb(86, 88, 31)
HSLhsl(62, 48%, 23%)
HSVhsv(62, 65%, 35%)
CMYKcmyk(2.3%, 0%, 64.8%, 65.5%)
CIE-LABlab(36.09, -9.37, 31.89)
CIE-LCHlch(36.09, 33.24, 106.37°)
OKLaboklab(44.59% -0.0282 0.0731)
OKLCHoklch(44.59% 0.078 111.1)
XYZxyz(7.5750, 9.0570, 2.6452)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56581F #211F58
analogous
#583D1F #56581F #39581F
triadic
#56581F #1F5658 #581F56
tetradic
#56581F #1F583D #211F58 #581F39
square
#56581F #1F583D #211F58 #581F39
split-complementary
#56581F #1F3958 #3D1F58
monochromatic
#161708 #2A2B0F #56581F #82852F #AEB33F

Accessibility & contrast

On white

7.47
#56581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56581F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56581F#FFFFFF#000000##FFFFFF
##56581F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#5C534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #56581f;
/* rgb */ color: rgb(86, 88, 31);
/* oklch */ color: oklch(44.6% 0.078 111.1);
Tailwind
colors: {
  custom: {
    50: '#87875d',
    500: '#56581f',
    950: '#000000',
  },
}
SCSS
$custom: #56581f;
$custom-light: #87875d;
$custom-dark: #000000;
JSON
{
  "hex": "#56581f",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 62.105,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.07835,
    "h": 111.1
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#56581F
secondary
#49468D
accent
#50D755
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #56581F

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

Preview Lab → · Contrast checker → · Palette generator →

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