#545A1D#545A1D

#545A1D is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.083 H 114.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#545A1D
RGBrgb(84, 90, 29)
HSLhsl(66, 51%, 23%)
HSVhsv(66, 68%, 35%)
CMYKcmyk(6.7%, 0%, 67.8%, 64.7%)
CIE-LABlab(36.53, -11.63, 33.29)
CIE-LCHlch(36.53, 35.26, 109.26°)
OKLaboklab(44.88% -0.0346 0.0758)
OKLCHoklch(44.88% 0.083 114.6)
XYZxyz(7.5343, 9.2860, 2.5576)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A1D #231D5A
analogous
#5A411D #545A1D #355A1D
triadic
#545A1D #1D545A #5A1D54
tetradic
#545A1D #1D5A41 #231D5A #5A1D35
square
#545A1D #1D5A41 #231D5A #5A1D35
split-complementary
#545A1D #1D355A #411D5A
monochromatic
#161707 #292C0E #545A1D #7F882C #AAB73B

Accessibility & contrast

On white

7.35
#545A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#545A1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A1D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A1D#FFFFFF#000000##FFFFFF
##545A1D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615515
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a1d;
/* rgb */ color: rgb(84, 90, 29);
/* oklch */ color: oklch(44.9% 0.083 114.6);
Tailwind
colors: {
  custom: {
    50: '#86885c',
    500: '#545a1d',
    950: '#000000',
  },
}
SCSS
$custom: #545a1d;
$custom-light: #86885c;
$custom-dark: #000000;
JSON
{
  "hex": "#545a1d",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 29
  },
  "hsl": {
    "h": 65.902,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.08335,
    "h": 114.6
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#545A1D
secondary
#4B448F
accent
#4DDB5B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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