#545912#545912

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

Color values

HEX#545912
RGBrgb(84, 89, 18)
HSLhsl(64, 66%, 21%)
HSVhsv(64, 80%, 35%)
CMYKcmyk(5.6%, 0%, 79.8%, 65.1%)
CIE-LABlab(36.13, -11.78, 37.66)
CIE-LCHlch(36.13, 39.46, 107.36°)
OKLaboklab(44.53% -0.0362 0.083)
OKLCHoklch(44.53% 0.091 113.6)
XYZxyz(7.3379, 9.0734, 1.9369)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545912 #171259
analogous
#593A12 #545912 #305912
triadic
#545912 #125459 #591254
tetradic
#545912 #12593A #171259 #591230
square
#545912 #12593A #171259 #591230
split-complementary
#545912 #123059 #3A1259
monochromatic
#181905 #242608 #545912 #848C1C #B4BF27

Accessibility & contrast

On white

7.46
#545912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#545912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545912
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545912#FFFFFF#000000##FFFFFF
##5459121.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#5A534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #545912;
/* rgb */ color: rgb(84, 89, 18);
/* oklch */ color: oklch(44.5% 0.091 113.6);
Tailwind
colors: {
  custom: {
    50: '#878756',
    500: '#545912',
    950: '#000000',
  },
}
SCSS
$custom: #545912;
$custom-light: #878756;
$custom-dark: #000000;
JSON
{
  "hex": "#545912",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 64.225,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.09057,
    "h": 113.6
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#545912
secondary
#3C3592
accent
#3FE94B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545912

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

Preview Lab → · Contrast checker → · Palette generator →

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