#54520F#54520F

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

Color values

HEX#54520F
RGBrgb(84, 82, 15)
HSLhsl(58, 70%, 19%)
HSVhsv(58, 82%, 33%)
CMYKcmyk(0%, 2.4%, 82.1%, 67.1%)
CIE-LABlab(33.89, -7.87, 36.71)
CIE-LCHlch(33.89, 37.54, 102.10°)
OKLaboklab(42.74% -0.0257 0.0804)
OKLCHoklch(42.74% 0.084 107.7)
XYZxyz(6.7599, 7.9541, 1.6311)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54520F #0F1154
analogous
#54300F #54520F #34540F
triadic
#54520F #0F5452 #520F54
tetradic
#54520F #0F5430 #0F1154 #540F34
square
#54520F #0F5430 #0F1154 #540F34
split-complementary
#54520F #0F3454 #300F54
monochromatic
#1A1905 #201F06 #54520F #888518 #BCB722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54520f;
/* rgb */ color: rgb(84, 82, 15);
/* oklch */ color: oklch(42.7% 0.084 107.7);
Tailwind
colors: {
  custom: {
    50: '#878254',
    500: '#54520f',
    950: '#000000',
  },
}
SCSS
$custom: #54520f;
$custom-light: #878254;
$custom-dark: #000000;
JSON
{
  "hex": "#54520f",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 58.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42736,
    "c": 0.08436,
    "h": 107.7
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#54520F
secondary
#31348E
accent
#40ED3B
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #54520F

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

Preview Lab → · Contrast checker → · Palette generator →

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