#54511D#54511D

#54511D is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.072 H 106.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#54511D
RGBrgb(84, 81, 29)
HSLhsl(57, 49%, 22%)
HSVhsv(57, 65%, 33%)
CMYKcmyk(0%, 3.6%, 65.5%, 67.1%)
CIE-LABlab(33.69, -6.39, 30.22)
CIE-LCHlch(33.69, 30.89, 101.94°)
OKLaboklab(42.61% -0.0198 0.0693)
OKLCHoklch(42.61% 0.072 106)
XYZxyz(6.8206, 7.8586, 2.3197)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54511D #1D2054
analogous
#54361D #54511D #3C541D
triadic
#54511D #1D5451 #511D54
tetradic
#54511D #1D5436 #1D2054 #541D3C
square
#54511D #1D5436 #1D2054 #541D3C
split-complementary
#54511D #1D3C54 #361D54
monochromatic
#171608 #27250D #54511D #817D2D #AFA93C

Accessibility & contrast

On white

8.17
#54511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#54511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54511D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54511D#FFFFFF#000000##FFFFFF
##54511D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#5A4C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #54511d;
/* rgb */ color: rgb(84, 81, 29);
/* oklch */ color: oklch(42.6% 0.072 106.0);
Tailwind
colors: {
  custom: {
    50: '#86815b',
    500: '#54511d',
    950: '#000000',
  },
}
SCSS
$custom: #54511d;
$custom-light: #86815b;
$custom-dark: #000000;
JSON
{
  "hex": "#54511d",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 56.727,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42613,
    "c": 0.07209,
    "h": 106
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#54511D
secondary
#444789
accent
#57D850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54511D

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

Preview Lab → · Contrast checker → · Palette generator →

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