#545124#545124

#545124 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.065 H 105.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#545124
RGBrgb(84, 81, 36)
HSLhsl(56, 40%, 24%)
HSVhsv(56, 57%, 33%)
CMYKcmyk(0%, 3.6%, 57.1%, 67.1%)
CIE-LABlab(33.77, -5.76, 26.57)
CIE-LCHlch(33.77, 27.19, 102.24°)
OKLaboklab(42.7% -0.0171 0.0624)
OKLCHoklch(42.7% 0.065 105.4)
XYZxyz(6.9172, 7.8973, 2.8287)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545124 #242754
analogous
#543924 #545124 #3F5424
triadic
#545124 #245451 #512454
tetradic
#545124 #245439 #242754 #54243F
square
#545124 #245439 #242754 #54243F
split-complementary
#545124 #243F54 #392454
monochromatic
#151509 #292812 #545124 #7F7A36 #AAA449

Accessibility & contrast

On white

8.14
#545124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#545124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545124
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545124#FFFFFF#000000##FFFFFF
##5451241.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E20
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#5A4C47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #545124;
/* rgb */ color: rgb(84, 81, 36);
/* oklch */ color: oklch(42.7% 0.065 105.4);
Tailwind
colors: {
  custom: {
    50: '#858160',
    500: '#545124',
    950: '#000000',
  },
}
SCSS
$custom: #545124;
$custom-light: #858160;
$custom-dark: #000000;
JSON
{
  "hex": "#545124",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 56.25,
    "s": 40,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.06474,
    "h": 105.4
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#545124
secondary
#4C5088
accent
#5FD058
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A05
muted
#7C7C79

Preview Lab

Preview with #545124

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

Preview Lab → · Contrast checker → · Palette generator →

#545124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva