#545612#545612

#545612 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.8% C 0.087 H 111.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#545612
RGBrgb(84, 86, 18)
HSLhsl(62, 65%, 20%)
HSVhsv(62, 79%, 34%)
CMYKcmyk(2.3%, 0%, 79.1%, 66.3%)
CIE-LABlab(35.17, -10.05, 36.76)
CIE-LCHlch(35.17, 38.11, 105.30°)
OKLaboklab(43.77% -0.0315 0.0811)
OKLCHoklch(43.77% 0.087 111.2)
XYZxyz(7.0934, 8.5843, 1.8554)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545612 #141256
analogous
#563612 #545612 #325612
triadic
#545612 #125456 #561254
tetradic
#545612 #125636 #141256 #561232
square
#545612 #125636 #141256 #561232
split-complementary
#545612 #123256 #361256
monochromatic
#191905 #232307 #545612 #85891D #B7BB27

Accessibility & contrast

On white

7.73
#545612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#545612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545612
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545612#FFFFFF#000000##FFFFFF
##5456121.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#5A5049
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #545612;
/* rgb */ color: rgb(84, 86, 18);
/* oklch */ color: oklch(43.8% 0.087 111.2);
Tailwind
colors: {
  custom: {
    50: '#878556',
    500: '#545612',
    950: '#000000',
  },
}
SCSS
$custom: #545612;
$custom-light: #878556;
$custom-dark: #000000;
JSON
{
  "hex": "#545612",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 61.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.08698,
    "h": 111.2
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#545612
secondary
#38358F
accent
#3FE844
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545612

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

Preview Lab → · Contrast checker → · Palette generator →

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