#545818#545818

#545818 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.085 H 112.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#545818
RGBrgb(84, 88, 24)
HSLhsl(64, 57%, 22%)
HSVhsv(64, 73%, 35%)
CMYKcmyk(4.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(35.85, -10.85, 34.90)
CIE-LCHlch(35.85, 36.55, 107.27°)
OKLaboklab(44.33% -0.033 0.0783)
OKLCHoklch(44.33% 0.085 112.9)
XYZxyz(7.3110, 8.9304, 2.2026)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545818 #1C1858
analogous
#583C18 #545818 #345818
triadic
#545818 #185458 #581854
tetradic
#545818 #18583C #1C1858 #581834
square
#545818 #18583C #1C1858 #581834
split-complementary
#545818 #183458 #3C1858
monochromatic
#171807 #26280B #545818 #828825 #B0B832

Accessibility & contrast

On white

7.54
#545818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#545818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545818
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545818#FFFFFF#000000##FFFFFF
##5458181.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #545818;
/* rgb */ color: rgb(84, 88, 24);
/* oklch */ color: oklch(44.3% 0.085 112.9);
Tailwind
colors: {
  custom: {
    50: '#868759',
    500: '#545818',
    950: '#000000',
  },
}
SCSS
$custom: #545818;
$custom-light: #868759;
$custom-dark: #000000;
JSON
{
  "hex": "#545818",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 63.75,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.08501,
    "h": 112.9
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#545818
secondary
#423D8F
accent
#47E051
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545818

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

Preview Lab → · Contrast checker → · Palette generator →

#545818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva