#54511F#54511F

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

Color values

HEX#54511F
RGBrgb(84, 81, 31)
HSLhsl(57, 46%, 23%)
HSVhsv(57, 63%, 33%)
CMYKcmyk(0%, 3.6%, 63.1%, 67.1%)
CIE-LABlab(33.71, -6.22, 29.21)
CIE-LCHlch(33.71, 29.86, 102.03°)
OKLaboklab(42.64% -0.0191 0.0675)
OKLCHoklch(42.64% 0.07 105.8)
XYZxyz(6.8461, 7.8688, 2.4543)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54511F #1F2254
analogous
#54371F #54511F #3C541F
triadic
#54511F #1F5451 #511F54
tetradic
#54511F #1F5437 #1F2254 #541F3C
square
#54511F #1F5437 #1F2254 #541F3C
split-complementary
#54511F #1F3C54 #371F54
monochromatic
#161608 #27260F #54511F #817C2F #ADA740

Accessibility & contrast

On white

8.16
#54511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54511F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54511F#FFFFFF#000000##FFFFFF
##54511F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54511f;
/* rgb */ color: rgb(84, 81, 31);
/* oklch */ color: oklch(42.6% 0.070 105.8);
Tailwind
colors: {
  custom: {
    50: '#86815d',
    500: '#54511f',
    950: '#000000',
  },
}
SCSS
$custom: #54511f;
$custom-light: #86815d;
$custom-dark: #000000;
JSON
{
  "hex": "#54511f",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 56.604,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42637,
    "c": 0.0701,
    "h": 105.8
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#54511F
secondary
#464A89
accent
#5AD652
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54511F

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

Preview Lab → · Contrast checker → · Palette generator →

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