#54520D#54520D

#54520D is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.086 H 107.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#54520D
RGBrgb(84, 82, 13)
HSLhsl(58, 73%, 19%)
HSVhsv(58, 85%, 33%)
CMYKcmyk(0%, 2.4%, 84.5%, 67.1%)
CIE-LABlab(33.88, -7.96, 37.42)
CIE-LCHlch(33.88, 38.26, 102.01°)
OKLaboklab(42.72% -0.0261 0.0815)
OKLCHoklch(42.72% 0.086 107.8)
XYZxyz(6.7464, 7.9487, 1.5596)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54520D #0D0F54
analogous
#542F0D #54520D #33540D
triadic
#54520D #0D5452 #520D54
tetradic
#54520D #0D542F #0D0F54 #540D33
square
#54520D #0D542F #0D0F54 #540D33
split-complementary
#54520D #0D3354 #2F0D54
monochromatic
#1A1A04 #1F1E05 #54520D #898615 #BEB91D

Accessibility & contrast

On white

8.11
#54520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#54520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54520D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54520D#FFFFFF#000000##FFFFFF
##54520D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#5B4C45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #54520d;
/* rgb */ color: rgb(84, 82, 13);
/* oklch */ color: oklch(42.7% 0.086 107.8);
Tailwind
colors: {
  custom: {
    50: '#878253',
    500: '#54520d',
    950: '#000000',
  },
}
SCSS
$custom: #54520d;
$custom-light: #878253;
$custom-dark: #000000;
JSON
{
  "hex": "#54520d",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 58.31,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.08554,
    "h": 107.8
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#54520D
secondary
#2E318F
accent
#3DF038
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #54520D

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

Preview Lab → · Contrast checker → · Palette generator →

#54520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva