#54542E#54542E

#54542E is a dark, muted yellow. Relative luminance 0.084; OKLCH L 43.6% C 0.057 H 108.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#54542E
RGBrgb(84, 84, 46)
HSLhsl(60, 29%, 25%)
HSVhsv(60, 45%, 33%)
CMYKcmyk(0%, 0%, 45.2%, 67.1%)
CIE-LABlab(34.85, -6.45, 22.17)
CIE-LCHlch(34.85, 23.09, 106.22°)
OKLaboklab(43.61% -0.018 0.0536)
OKLCHoklch(43.61% 0.057 108.5)
XYZxyz(7.3197, 8.4229, 3.8244)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54542E #2E2E54
analogous
#54412E #54542E #41542E
triadic
#54542E #2E5454 #542E54
tetradic
#54542E #2E5441 #2E2E54 #542E41
square
#54542E #2E5441 #2E2E54 #542E41
split-complementary
#54542E #2E4154 #412E54
monochromatic
#14140B #2C2C18 #54542E #7C7C44 #A3A359

Accessibility & contrast

On white

7.82
#54542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#54542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54542E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54542E#FFFFFF#000000##FFFFFF
##54542E1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A512B
Deuteranopia (green-blind)
#5A5330
Tritanopia (blue-blind)
#59504B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #54542e;
/* rgb */ color: rgb(84, 84, 46);
/* oklch */ color: oklch(43.6% 0.057 108.5);
Tailwind
colors: {
  custom: {
    50: '#858467',
    500: '#54542e',
    950: '#000000',
  },
}
SCSS
$custom: #54542e;
$custom-light: #858467;
$custom-dark: #000000;
JSON
{
  "hex": "#54542e",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4361,
    "c": 0.05656,
    "h": 108.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#54542E
secondary
#585886
accent
#62C562
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0A06
muted
#7C7C7A

Preview Lab

Preview with #54542E

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

Preview Lab → · Contrast checker → · Palette generator →

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