#545917#545917

#545917 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.087 H 113.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#545917
RGBrgb(84, 89, 23)
HSLhsl(65, 59%, 22%)
HSVhsv(65, 74%, 35%)
CMYKcmyk(5.6%, 0%, 74.2%, 65.1%)
CIE-LABlab(36.16, -11.49, 35.65)
CIE-LCHlch(36.16, 37.46, 107.86°)
OKLaboklab(44.57% -0.0349 0.0797)
OKLCHoklch(44.57% 0.087 113.6)
XYZxyz(7.3834, 9.0916, 2.1764)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545917 #1C1759
analogous
#593D17 #545917 #335917
triadic
#545917 #175459 #591754
tetradic
#545917 #17593D #1C1759 #591733
square
#545917 #17593D #1C1759 #591733
split-complementary
#545917 #173359 #3D1759
monochromatic
#171806 #26280A #545917 #828A24 #B0BA30

Accessibility & contrast

On white

7.45
#545917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#545917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545917
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545917#FFFFFF#000000##FFFFFF
##5459171.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540D
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#5A534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #545917;
/* rgb */ color: rgb(84, 89, 23);
/* oklch */ color: oklch(44.6% 0.087 113.6);
Tailwind
colors: {
  custom: {
    50: '#868759',
    500: '#545917',
    950: '#000000',
  },
}
SCSS
$custom: #545917;
$custom-light: #868759;
$custom-dark: #000000;
JSON
{
  "hex": "#545917",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 64.545,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.08705,
    "h": 113.6
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#545917
secondary
#423C90
accent
#46E252
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545917

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

Preview Lab → · Contrast checker → · Palette generator →

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