#545C2A#545C2A

#545C2A is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.073 H 116.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#545C2A
RGBrgb(84, 92, 42)
HSLhsl(70, 37%, 26%)
HSVhsv(70, 54%, 36%)
CMYKcmyk(8.7%, 0%, 54.3%, 63.9%)
CIE-LABlab(37.31, -11.57, 27.44)
CIE-LCHlch(37.31, 29.78, 112.86°)
OKLaboklab(45.56% -0.033 0.065)
OKLCHoklch(45.56% 0.073 116.9)
XYZxyz(7.9013, 9.7064, 3.6473)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C2A #322A5C
analogous
#5C4B2A #545C2A #3B5C2A
triadic
#545C2A #2A545C #5C2A54
tetradic
#545C2A #2A5C4B #322A5C #5C2A3B
square
#545C2A #2A5C4B #322A5C #5C2A3B
split-complementary
#545C2A #2A3B5C #4B2A5C
monochromatic
#13150A #2E3217 #545C2A #7A863D #A0B051

Accessibility & contrast

On white

7.14
#545C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#545C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C2A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C2A#FFFFFF#000000##FFFFFF
##545C2A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625825
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#595751
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545c2a;
/* rgb */ color: rgb(84, 92, 42);
/* oklch */ color: oklch(45.6% 0.073 116.9);
Tailwind
colors: {
  custom: {
    50: '#858a65',
    500: '#545c2a',
    950: '#000000',
  },
}
SCSS
$custom: #545c2a;
$custom-light: #858a65;
$custom-dark: #000000;
JSON
{
  "hex": "#545c2a",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 69.6,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.07285,
    "h": 116.9
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#545C2A
secondary
#5D538E
accent
#5BCD6D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #545C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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