#545817#545817

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

Color values

HEX#545817
RGBrgb(84, 88, 23)
HSLhsl(64, 59%, 22%)
HSVhsv(64, 74%, 35%)
CMYKcmyk(4.5%, 0%, 73.9%, 65.5%)
CIE-LABlab(35.84, -10.91, 35.34)
CIE-LCHlch(35.84, 36.98, 107.17°)
OKLaboklab(44.32% -0.0333 0.0791)
OKLCHoklch(44.32% 0.086 112.9)
XYZxyz(7.3007, 8.9263, 2.1488)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545817 #1B1758
analogous
#583C17 #545817 #345817
triadic
#545817 #175458 #581754
tetradic
#545817 #17583C #1B1758 #581734
square
#545817 #17583C #1B1758 #581734
split-complementary
#545817 #173458 #3C1758
monochromatic
#171806 #26270A #545817 #828924 #B1B930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545817#FFFFFF#000000##FFFFFF
##5458171.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)
#5F540D
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #545817;
/* rgb */ color: rgb(84, 88, 23);
/* oklch */ color: oklch(44.3% 0.086 112.9);
Tailwind
colors: {
  custom: {
    50: '#868759',
    500: '#545817',
    950: '#000000',
  },
}
SCSS
$custom: #545817;
$custom-light: #868759;
$custom-dark: #000000;
JSON
{
  "hex": "#545817",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 63.692,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44316,
    "c": 0.0858,
    "h": 112.9
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#545817
secondary
#413C8F
accent
#46E250
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545817

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

Preview Lab → · Contrast checker → · Palette generator →

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