#54510D#54510D

#54510D is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.084 H 106.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#54510D
RGBrgb(84, 81, 13)
HSLhsl(57, 73%, 19%)
HSVhsv(57, 85%, 33%)
CMYKcmyk(0%, 3.6%, 84.5%, 67.1%)
CIE-LABlab(33.56, -7.37, 37.14)
CIE-LCHlch(33.56, 37.86, 101.23°)
OKLaboklab(42.47% -0.0245 0.0808)
OKLCHoklch(42.47% 0.084 106.8)
XYZxyz(6.6715, 7.7990, 1.5346)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54510D #0D1054
analogous
#542E0D #54510D #34540D
triadic
#54510D #0D5451 #510D54
tetradic
#54510D #0D542E #0D1054 #540D34
square
#54510D #0D542E #0D1054 #540D34
split-complementary
#54510D #0D3454 #2E0D54
monochromatic
#1A1A04 #1F1E05 #54510D #898415 #BEB71D

Accessibility & contrast

On white

8.20
#54510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#54510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54510D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54510D#FFFFFF#000000##FFFFFF
##54510D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#5B4B44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #54510d;
/* rgb */ color: rgb(84, 81, 13);
/* oklch */ color: oklch(42.5% 0.084 106.8);
Tailwind
colors: {
  custom: {
    50: '#878153',
    500: '#54510d',
    950: '#000000',
  },
}
SCSS
$custom: #54510d;
$custom-light: #878153;
$custom-dark: #000000;
JSON
{
  "hex": "#54510d",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 57.465,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.08447,
    "h": 106.8
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#54510D
secondary
#2E328F
accent
#40F038
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #54510D

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

Preview Lab → · Contrast checker → · Palette generator →

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