#56502F#56502F

#56502F is a dark, muted yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.050 H 99.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#56502F
RGBrgb(86, 80, 47)
HSLhsl(51, 29%, 26%)
HSVhsv(51, 45%, 34%)
CMYKcmyk(0%, 7%, 45.3%, 66.3%)
CIE-LABlab(33.82, -2.98, 20.32)
CIE-LCHlch(33.82, 20.54, 98.34°)
OKLaboklab(42.84% -0.008 0.0495)
OKLCHoklch(42.84% 0.05 99.2)
XYZxyz(7.2197, 7.9212, 3.8374)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56502F #2F3556
analogous
#563C2F #56502F #48562F
triadic
#56502F #2F5650 #502F56
tetradic
#56502F #2F563C #2F3556 #562F48
square
#56502F #2F563C #2F3556 #562F48
split-complementary
#56502F #2F4856 #3C2F56
monochromatic
#14120B #2E2B19 #56502F #7E7545 #A59A5A

Accessibility & contrast

On white

8.13
#56502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#56502F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56502F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56502F#FFFFFF#000000##FFFFFF
##56502F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#5B4C48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56502f;
/* rgb */ color: rgb(86, 80, 47);
/* oklch */ color: oklch(42.8% 0.050 99.2);
Tailwind
colors: {
  custom: {
    50: '#868168',
    500: '#56502f',
    950: '#000000',
  },
}
SCSS
$custom: #56502f;
$custom-light: #868168;
$custom-dark: #000000;
JSON
{
  "hex": "#56502f",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 50.769,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.05014,
    "h": 99.2
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#56502F
secondary
#596087
accent
#72C662
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0B0A06
muted
#7C7C7A

Preview Lab

Preview with #56502F

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

Preview Lab → · Contrast checker → · Palette generator →

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