#545A1F#545A1F

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

Color values

HEX#545A1F
RGBrgb(84, 90, 31)
HSLhsl(66, 49%, 24%)
HSVhsv(66, 66%, 35%)
CMYKcmyk(6.7%, 0%, 65.6%, 64.7%)
CIE-LABlab(36.55, -11.47, 32.34)
CIE-LCHlch(36.55, 34.31, 109.54°)
OKLaboklab(44.9% -0.034 0.0741)
OKLCHoklch(44.9% 0.082 114.6)
XYZxyz(7.5598, 9.2962, 2.6922)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A1F #251F5A
analogous
#5A421F #545A1F #365A1F
triadic
#545A1F #1F545A #5A1F54
tetradic
#545A1F #1F5A42 #251F5A #5A1F36
square
#545A1F #1F5A42 #251F5A #5A1F36
split-complementary
#545A1F #1F365A #421F5A
monochromatic
#151708 #2A2C0F #545A1F #7E882F #A9B53E

Accessibility & contrast

On white

7.34
#545A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545A1F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A1F#FFFFFF#000000##FFFFFF
##545A1F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615518
Deuteranopia (green-blind)
#605723
Tritanopia (blue-blind)
#59554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a1f;
/* rgb */ color: rgb(84, 90, 31);
/* oklch */ color: oklch(44.9% 0.082 114.6);
Tailwind
colors: {
  custom: {
    50: '#86885e',
    500: '#545a1f',
    950: '#000000',
  },
}
SCSS
$custom: #545a1f;
$custom-light: #86885e;
$custom-dark: #000000;
JSON
{
  "hex": "#545a1f",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 66.102,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.08151,
    "h": 114.6
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#545A1F
secondary
#4D468F
accent
#4FD85D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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