#54520E#54520E

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

Color values

HEX#54520E
RGBrgb(84, 82, 14)
HSLhsl(58, 71%, 19%)
HSVhsv(58, 83%, 33%)
CMYKcmyk(0%, 2.4%, 83.3%, 67.1%)
CIE-LABlab(33.88, -7.92, 37.07)
CIE-LCHlch(33.88, 37.91, 102.05°)
OKLaboklab(42.73% -0.0259 0.0809)
OKLCHoklch(42.73% 0.085 107.8)
XYZxyz(6.7530, 7.9513, 1.5944)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54520E #0E1054
analogous
#542F0E #54520E #33540E
triadic
#54520E #0E5452 #520E54
tetradic
#54520E #0E542F #0E1054 #540E33
square
#54520E #0E542F #0E1054 #540E33
split-complementary
#54520E #0E3354 #2F0E54
monochromatic
#1A1A04 #201F05 #54520E #888517 #BDB81F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54520E#FFFFFF#000000##FFFFFF
##54520E1.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)
#5A4E01
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#5B4C45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #54520e;
/* rgb */ color: rgb(84, 82, 14);
/* oklch */ color: oklch(42.7% 0.085 107.8);
Tailwind
colors: {
  custom: {
    50: '#878253',
    500: '#54520e',
    950: '#000000',
  },
}
SCSS
$custom: #54520e;
$custom-light: #878253;
$custom-dark: #000000;
JSON
{
  "hex": "#54520e",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 58.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.08495,
    "h": 107.8
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#54520E
secondary
#2F328E
accent
#3FEE3A
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #54520E

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

Preview Lab → · Contrast checker → · Palette generator →

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