#54470F#54470F

#54470F is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 40.0% C 0.074 H 95.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#54470F
RGBrgb(84, 71, 15)
HSLhsl(49, 70%, 19%)
HSVhsv(49, 82%, 33%)
CMYKcmyk(0%, 15.5%, 82.1%, 67.1%)
CIE-LABlab(30.46, -1.23, 33.52)
CIE-LCHlch(30.46, 33.54, 92.10°)
OKLaboklab(40.02% -0.007 0.0736)
OKLCHoklch(40.02% 0.074 95.4)
XYZxyz(5.9959, 6.4261, 1.3764)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54470F #0F1C54
analogous
#54250F #54470F #3F540F
triadic
#54470F #0F5447 #470F54
tetradic
#54470F #0F5425 #0F1C54 #540F3F
square
#54470F #0F5425 #0F1C54 #540F3F
split-complementary
#54470F #0F3F54 #250F54
monochromatic
#1A1605 #201B06 #54470F #887318 #BC9F22

Accessibility & contrast

On white

9.19
#54470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#54470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54470F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54470F#FFFFFF#000000##FFFFFF
##54470F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#534913
Tritanopia (blue-blind)
#5B413C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #54470f;
/* rgb */ color: rgb(84, 71, 15);
/* oklch */ color: oklch(40.0% 0.074 95.4);
Tailwind
colors: {
  custom: {
    50: '#877952',
    500: '#54470f',
    950: '#000000',
  },
}
SCSS
$custom: #54470f;
$custom-light: #877952;
$custom-dark: #000000;
JSON
{
  "hex": "#54470f",
  "rgb": {
    "r": 84,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 48.696,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40016,
    "c": 0.07389,
    "h": 95.4
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#54470F
secondary
#31428E
accent
#5DED3B
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #54470F

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

Preview Lab → · Contrast checker → · Palette generator →

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