#545211#545211

#545211 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.083 H 107.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#545211
RGBrgb(84, 82, 17)
HSLhsl(58, 66%, 20%)
HSVhsv(58, 80%, 33%)
CMYKcmyk(0%, 2.4%, 79.8%, 67.1%)
CIE-LABlab(33.90, -7.77, 35.95)
CIE-LCHlch(33.90, 36.78, 102.20°)
OKLaboklab(42.75% -0.0252 0.0792)
OKLCHoklch(42.75% 0.083 107.6)
XYZxyz(6.7749, 7.9601, 1.7098)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545211 #111354
analogous
#543111 #545211 #355411
triadic
#545211 #115452 #521154
tetradic
#545211 #115431 #111354 #541135
square
#545211 #115431 #111354 #541135
split-complementary
#545211 #113554 #311154
monochromatic
#191905 #212007 #545211 #87841B #BAB526

Accessibility & contrast

On white

8.10
#545211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#545211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545211
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545211#FFFFFF#000000##FFFFFF
##5452111.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E05
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#5B4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #545211;
/* rgb */ color: rgb(84, 82, 17);
/* oklch */ color: oklch(42.8% 0.083 107.6);
Tailwind
colors: {
  custom: {
    50: '#878255',
    500: '#545211',
    950: '#000000',
  },
}
SCSS
$custom: #545211;
$custom-light: #878255;
$custom-dark: #000000;
JSON
{
  "hex": "#545211",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 58.209,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.08308,
    "h": 107.6
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#545211
secondary
#34368D
accent
#44E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #545211

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

Preview Lab → · Contrast checker → · Palette generator →

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