#545512#545512

#545512 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.086 H 110.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#545512
RGBrgb(84, 85, 18)
HSLhsl(61, 65%, 20%)
HSVhsv(61, 79%, 33%)
CMYKcmyk(1.2%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.85, -9.48, 36.46)
CIE-LCHlch(34.85, 37.67, 104.57°)
OKLaboklab(43.52% -0.0298 0.0804)
OKLCHoklch(43.52% 0.086 110.4)
XYZxyz(7.0141, 8.4257, 1.8290)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545512 #131255
analogous
#553512 #545512 #325512
triadic
#545512 #125455 #551254
tetradic
#545512 #125535 #131255 #551232
square
#545512 #125535 #131255 #551232
split-complementary
#545512 #123255 #351255
monochromatic
#191905 #222207 #545512 #86881D #B8BA27

Accessibility & contrast

On white

7.82
#545512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#545512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545512
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545512#FFFFFF#000000##FFFFFF
##5455121.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#5A4F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545512;
/* rgb */ color: rgb(84, 85, 18);
/* oklch */ color: oklch(43.5% 0.086 110.4);
Tailwind
colors: {
  custom: {
    50: '#878456',
    500: '#545512',
    950: '#000000',
  },
}
SCSS
$custom: #545512;
$custom-light: #878456;
$custom-dark: #000000;
JSON
{
  "hex": "#545512",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 60.896,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.08581,
    "h": 110.4
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#545512
secondary
#36358E
accent
#40E842
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545512

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

Preview Lab → · Contrast checker → · Palette generator →

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