#56470F#56470F

#56470F is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.2% C 0.074 H 93.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#56470F
RGBrgb(86, 71, 15)
HSLhsl(47, 70%, 20%)
HSVhsv(47, 83%, 34%)
CMYKcmyk(0%, 17.4%, 82.6%, 66.3%)
CIE-LABlab(30.69, -0.21, 33.81)
CIE-LCHlch(30.69, 33.81, 90.35°)
OKLaboklab(40.25% -0.0042 0.0741)
OKLCHoklch(40.25% 0.074 93.2)
XYZxyz(6.1776, 6.5198, 1.3849)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56470F #0F1E56
analogous
#56240F #56470F #42560F
triadic
#56470F #0F5647 #470F56
tetradic
#56470F #0F5624 #0F1E56 #560F42
square
#56470F #0F5624 #0F1E56 #560F42
split-complementary
#56470F #0F4256 #240F56
monochromatic
#1A1605 #221C06 #56470F #8A7218 #BE9D21

Accessibility & contrast

On white

9.12
#56470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#56470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56470F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56470F#FFFFFF#000000##FFFFFF
##56470F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#534A12
Tritanopia (blue-blind)
#5E403C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #56470f;
/* rgb */ color: rgb(86, 71, 15);
/* oklch */ color: oklch(40.2% 0.074 93.2);
Tailwind
colors: {
  custom: {
    50: '#897952',
    500: '#56470f',
    950: '#000000',
  },
}
SCSS
$custom: #56470f;
$custom-light: #897952;
$custom-dark: #000000;
JSON
{
  "hex": "#56470f",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 47.324,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.0742,
    "h": 93.2
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#56470F
secondary
#314590
accent
#60ED3B
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #56470F

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

Preview Lab → · Contrast checker → · Palette generator →

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