#56540F#56540F

#56540F is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.086 H 107.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#56540F
RGBrgb(86, 84, 15)
HSLhsl(58, 70%, 20%)
HSVhsv(58, 83%, 34%)
CMYKcmyk(0%, 2.3%, 82.6%, 66.3%)
CIE-LABlab(34.71, -8.05, 37.53)
CIE-LCHlch(34.71, 38.39, 102.11°)
OKLaboklab(43.44% -0.0263 0.082)
OKLCHoklch(43.44% 0.086 107.8)
XYZxyz(7.0946, 8.3538, 1.6906)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56540F #0F1156
analogous
#56310F #56540F #35560F
triadic
#56540F #0F5654 #540F56
tetradic
#56540F #0F5631 #0F1156 #560F35
square
#56540F #0F5631 #0F1156 #560F35
split-complementary
#56540F #0F3556 #310F56
monochromatic
#1A1905 #222106 #56540F #8A8718 #BEBA21

Accessibility & contrast

On white

7.86
#56540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#56540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56540F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56540F#FFFFFF#000000##FFFFFF
##56540F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5001
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#5D4E47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #56540f;
/* rgb */ color: rgb(86, 84, 15);
/* oklch */ color: oklch(43.4% 0.086 107.8);
Tailwind
colors: {
  custom: {
    50: '#888354',
    500: '#56540f',
    950: '#000000',
  },
}
SCSS
$custom: #56540f;
$custom-light: #888354;
$custom-dark: #000000;
JSON
{
  "hex": "#56540f",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 58.31,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.08613,
    "h": 107.8
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#56540F
secondary
#313490
accent
#40ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #56540F

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

Preview Lab → · Contrast checker → · Palette generator →

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