#545111#545111

#545111 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.082 H 106.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#545111
RGBrgb(84, 81, 17)
HSLhsl(57, 66%, 20%)
HSVhsv(57, 80%, 33%)
CMYKcmyk(0%, 3.6%, 79.8%, 67.1%)
CIE-LABlab(33.58, -7.18, 35.65)
CIE-LCHlch(33.58, 36.37, 101.39°)
OKLaboklab(42.5% -0.0235 0.0785)
OKLCHoklch(42.5% 0.082 106.7)
XYZxyz(6.7000, 7.8104, 1.6848)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545111 #111454
analogous
#542F11 #545111 #365411
triadic
#545111 #115451 #511154
tetradic
#545111 #11542F #111454 #541136
square
#545111 #11542F #111454 #541136
split-complementary
#545111 #113654 #2F1154
monochromatic
#191905 #212007 #545111 #87821B #BAB326

Accessibility & contrast

On white

8.20
#545111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#545111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545111
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545111#FFFFFF#000000##FFFFFF
##5451111.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#5B4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #545111;
/* rgb */ color: rgb(84, 81, 17);
/* oklch */ color: oklch(42.5% 0.082 106.7);
Tailwind
colors: {
  custom: {
    50: '#878155',
    500: '#545111',
    950: '#000000',
  },
}
SCSS
$custom: #545111;
$custom-light: #878155;
$custom-dark: #000000;
JSON
{
  "hex": "#545111",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 57.313,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.08199,
    "h": 106.7
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#545111
secondary
#34388D
accent
#46E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #545111

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

Preview Lab → · Contrast checker → · Palette generator →

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