#545A2A#545A2A

#545A2A is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.070 H 115.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#545A2A
RGBrgb(84, 90, 42)
HSLhsl(68, 36%, 26%)
HSVhsv(68, 53%, 35%)
CMYKcmyk(6.7%, 0%, 53.3%, 64.7%)
CIE-LABlab(36.68, -10.42, 26.69)
CIE-LCHlch(36.68, 28.65, 111.33°)
OKLaboklab(45.05% -0.0297 0.0633)
OKLCHoklch(45.05% 0.07 115.1)
XYZxyz(7.7303, 9.3644, 3.5903)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A2A #302A5A
analogous
#5A482A #545A2A #3C5A2A
triadic
#545A2A #2A545A #5A2A54
tetradic
#545A2A #2A5A48 #302A5A #5A2A3C
square
#545A2A #2A5A48 #302A5A #5A2A3C
split-complementary
#545A2A #2A3C5A #482A5A
monochromatic
#13150A #2D3017 #545A2A #7B843D #A2AD51

Accessibility & contrast

On white

7.31
#545A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#545A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A2A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A2A#FFFFFF#000000##FFFFFF
##545A2A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605626
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#59554F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a2a;
/* rgb */ color: rgb(84, 90, 42);
/* oklch */ color: oklch(45.0% 0.070 115.1);
Tailwind
colors: {
  custom: {
    50: '#858865',
    500: '#545a2a',
    950: '#000000',
  },
}
SCSS
$custom: #545a2a;
$custom-light: #858865;
$custom-dark: #000000;
JSON
{
  "hex": "#545a2a",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 67.5,
    "s": 36.364,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.06995,
    "h": 115.1
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#545A2A
secondary
#5B538C
accent
#5BCC6A
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #545A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#545A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva