#54512E#54512E

#54512E is a dark, muted yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.053 H 104.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#54512E
RGBrgb(84, 81, 46)
HSLhsl(55, 29%, 25%)
HSVhsv(55, 45%, 33%)
CMYKcmyk(0%, 3.6%, 45.2%, 67.1%)
CIE-LABlab(33.91, -4.65, 21.00)
CIE-LCHlch(33.91, 21.51, 102.49°)
OKLaboklab(42.87% -0.0128 0.051)
OKLCHoklch(42.87% 0.053 104.1)
XYZxyz(7.0919, 7.9671, 3.7485)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54512E #2E3154
analogous
#543E2E #54512E #44542E
triadic
#54512E #2E5451 #512E54
tetradic
#54512E #2E543E #2E3154 #542E44
square
#54512E #2E543E #2E3154 #542E44
split-complementary
#54512E #2E4454 #3E2E54
monochromatic
#14130B #2C2B18 #54512E #7C7744 #A39D59

Accessibility & contrast

On white

8.10
#54512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#54512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54512E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54512E#FFFFFF#000000##FFFFFF
##54512E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#58512F
Tritanopia (blue-blind)
#594D48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #54512e;
/* rgb */ color: rgb(84, 81, 46);
/* oklch */ color: oklch(42.9% 0.053 104.1);
Tailwind
colors: {
  custom: {
    50: '#858167',
    500: '#54512e',
    950: '#000000',
  },
}
SCSS
$custom: #54512e;
$custom-light: #858167;
$custom-dark: #000000;
JSON
{
  "hex": "#54512e",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 55.263,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.05257,
    "h": 104.1
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#54512E
secondary
#585C86
accent
#6AC562
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0B0A06
muted
#7C7C7A

Preview Lab

Preview with #54512E

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

Preview Lab → · Contrast checker → · Palette generator →

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