#56571F#56571F

#56571F is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.077 H 110.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#56571F
RGBrgb(86, 87, 31)
HSLhsl(61, 47%, 23%)
HSVhsv(61, 64%, 34%)
CMYKcmyk(1.1%, 0%, 64.4%, 65.9%)
CIE-LABlab(35.78, -8.79, 31.55)
CIE-LCHlch(35.78, 32.75, 105.57°)
OKLaboklab(44.33% -0.0265 0.0724)
OKLCHoklch(44.33% 0.077 110.1)
XYZxyz(7.4935, 8.8939, 2.6180)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56571F #201F57
analogous
#573C1F #56571F #3A571F
triadic
#56571F #1F5657 #571F56
tetradic
#56571F #1F573C #201F57 #571F3A
square
#56571F #1F573C #201F57 #571F3A
split-complementary
#56571F #1F3A57 #3C1F57
monochromatic
#161708 #292A0F #56571F #83842F #AFB13F

Accessibility & contrast

On white

7.56
#56571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#56571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56571F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56571F#FFFFFF#000000##FFFFFF
##56571F1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5319
Deuteranopia (green-blind)
#5E5522
Tritanopia (blue-blind)
#5C524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #56571f;
/* rgb */ color: rgb(86, 87, 31);
/* oklch */ color: oklch(44.3% 0.077 110.1);
Tailwind
colors: {
  custom: {
    50: '#87865d',
    500: '#56571f',
    950: '#000000',
  },
}
SCSS
$custom: #56571f;
$custom-light: #87865d;
$custom-dark: #000000;
JSON
{
  "hex": "#56571f",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 61.071,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.07709,
    "h": 110.1
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#56571F
secondary
#47468C
accent
#51D753
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #56571F

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

Preview Lab → · Contrast checker → · Palette generator →

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