#545016#545016

#545016 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.077 H 105.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#545016
RGBrgb(84, 80, 22)
HSLhsl(56, 58%, 21%)
HSVhsv(56, 74%, 33%)
CMYKcmyk(0%, 4.8%, 73.8%, 67.1%)
CIE-LABlab(33.31, -6.30, 33.23)
CIE-LCHlch(33.31, 33.82, 100.73°)
OKLaboklab(42.29% -0.0205 0.0744)
OKLCHoklch(42.29% 0.077 105.4)
XYZxyz(6.6699, 7.6803, 1.8900)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545016 #161A54
analogous
#543116 #545016 #395416
triadic
#545016 #165450 #501654
tetradic
#545016 #165431 #161A54 #541639
square
#545016 #165431 #161A54 #541639
split-complementary
#545016 #163954 #311654
monochromatic
#181706 #242209 #545016 #847E23 #B5AC2F

Accessibility & contrast

On white

8.28
#545016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#545016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545016
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545016#FFFFFF#000000##FFFFFF
##5450161.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0E
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#5B4A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #545016;
/* rgb */ color: rgb(84, 80, 22);
/* oklch */ color: oklch(42.3% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#868057',
    500: '#545016',
    950: '#000000',
  },
}
SCSS
$custom: #545016;
$custom-light: #868057;
$custom-dark: #000000;
JSON
{
  "hex": "#545016",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 56.129,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.0772,
    "h": 105.4
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#545016
secondary
#3A408B
accent
#50E246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545016

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

Preview Lab → · Contrast checker → · Palette generator →

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