#545B1C#545B1C

#545B1C is a mid, moderate yellow. Relative luminance 0.095; 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#545B1C
RGBrgb(84, 91, 28)
HSLhsl(67, 53%, 23%)
HSVhsv(67, 69%, 36%)
CMYKcmyk(7.7%, 0%, 69.2%, 64.3%)
CIE-LABlab(36.84, -12.28, 34.09)
CIE-LCHlch(36.84, 36.23, 109.81°)
OKLaboklab(45.13% -0.0366 0.0773)
OKLCHoklch(45.13% 0.086 115.3)
XYZxyz(7.6070, 9.4509, 2.5219)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B1C #231C5B
analogous
#5B421C #545B1C #345B1C
triadic
#545B1C #1C545B #5B1C54
tetradic
#545B1C #1C5B42 #231C5B #5B1C34
square
#545B1C #1C5B42 #231C5B #5B1C34
split-complementary
#545B1C #1C345B #421C5B
monochromatic
#161707 #292C0E #545B1C #7F8A2A #AAB939

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545B1C#FFFFFF#000000##FFFFFF
##545B1C1.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)
#625614
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b1c;
/* rgb */ color: rgb(84, 91, 28);
/* oklch */ color: oklch(45.1% 0.086 115.3);
Tailwind
colors: {
  custom: {
    50: '#86895c',
    500: '#545b1c',
    950: '#000000',
  },
}
SCSS
$custom: #545b1c;
$custom-light: #86895c;
$custom-dark: #000000;
JSON
{
  "hex": "#545b1c",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 28
  },
  "hsl": {
    "h": 66.667,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.08554,
    "h": 115.3
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#545B1C
secondary
#4B4290
accent
#4BDC5C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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