#545B1B#545B1B

#545B1B is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.086 H 115.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#545B1B
RGBrgb(84, 91, 27)
HSLhsl(67, 54%, 23%)
HSVhsv(67, 70%, 36%)
CMYKcmyk(7.7%, 0%, 70.3%, 64.3%)
CIE-LABlab(36.83, -12.35, 34.55)
CIE-LCHlch(36.83, 36.69, 109.67°)
OKLaboklab(45.12% -0.0369 0.0781)
OKLCHoklch(45.12% 0.086 115.3)
XYZxyz(7.5953, 9.4462, 2.4599)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B1B #221B5B
analogous
#5B421B #545B1B #345B1B
triadic
#545B1B #1B545B #5B1B54
tetradic
#545B1B #1B5B42 #221B5B #5B1B34
square
#545B1B #1B5B42 #221B5B #5B1B34
split-complementary
#545B1B #1B345B #421B5B
monochromatic
#161807 #282C0D #545B1B #808A29 #ABB937

Accessibility & contrast

On white

7.27
#545B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#545B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B1B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B1B#FFFFFF#000000##FFFFFF
##545B1B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625612
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b1b;
/* rgb */ color: rgb(84, 91, 27);
/* oklch */ color: oklch(45.1% 0.086 115.3);
Tailwind
colors: {
  custom: {
    50: '#86895b',
    500: '#545b1b',
    950: '#000000',
  },
}
SCSS
$custom: #545b1b;
$custom-light: #86895b;
$custom-dark: #000000;
JSON
{
  "hex": "#545b1b",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 66.563,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.08639,
    "h": 115.3
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#545B1B
secondary
#4A4191
accent
#4ADE5A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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