#545317#545317

#545317 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.080 H 108.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#545317
RGBrgb(84, 83, 23)
HSLhsl(59, 57%, 21%)
HSVhsv(59, 73%, 33%)
CMYKcmyk(0%, 1.2%, 72.6%, 67.1%)
CIE-LABlab(34.26, -8.01, 33.74)
CIE-LCHlch(34.26, 34.68, 103.36°)
OKLaboklab(43.05% -0.0252 0.0757)
OKLCHoklch(43.05% 0.08 108.4)
XYZxyz(6.9043, 8.1334, 2.0167)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545317 #171854
analogous
#543417 #545317 #365417
triadic
#545317 #175453 #531754
tetradic
#545317 #175434 #171854 #541736
square
#545317 #175434 #171854 #541736
split-complementary
#545317 #173654 #341754
monochromatic
#181807 #24240A #545317 #848224 #B4B231

Accessibility & contrast

On white

8.00
#545317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#545317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545317
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545317#FFFFFF#000000##FFFFFF
##5453171.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0E
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#5A4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545317;
/* rgb */ color: rgb(84, 83, 23);
/* oklch */ color: oklch(43.1% 0.080 108.4);
Tailwind
colors: {
  custom: {
    50: '#868358',
    500: '#545317',
    950: '#000000',
  },
}
SCSS
$custom: #545317;
$custom-light: #868358;
$custom-dark: #000000;
JSON
{
  "hex": "#545317",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 59.016,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.07977,
    "h": 108.4
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#545317
secondary
#3C3D8B
accent
#4AE048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545317

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

Preview Lab → · Contrast checker → · Palette generator →

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