#545712#545712

#545712 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.0% C 0.088 H 112.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#545712
RGBrgb(84, 87, 18)
HSLhsl(63, 66%, 21%)
HSVhsv(63, 79%, 34%)
CMYKcmyk(3.4%, 0%, 79.3%, 65.9%)
CIE-LABlab(35.49, -10.63, 37.06)
CIE-LCHlch(35.49, 38.56, 106.01°)
OKLaboklab(44.02% -0.0331 0.0817)
OKLCHoklch(44.02% 0.088 112)
XYZxyz(7.1738, 8.7451, 1.8822)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545712 #151257
analogous
#573712 #545712 #315712
triadic
#545712 #125457 #571254
tetradic
#545712 #125737 #151257 #571231
square
#545712 #125737 #151257 #571231
split-complementary
#545712 #123157 #371257
monochromatic
#181905 #232408 #545712 #858A1C #B6BC27

Accessibility & contrast

On white

7.64
#545712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#545712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545712
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545712#FFFFFF#000000##FFFFFF
##5457121.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5305
Deuteranopia (green-blind)
#5F5418
Tritanopia (blue-blind)
#5A514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #545712;
/* rgb */ color: rgb(84, 87, 18);
/* oklch */ color: oklch(44.0% 0.088 112.0);
Tailwind
colors: {
  custom: {
    50: '#878656',
    500: '#545712',
    950: '#000000',
  },
}
SCSS
$custom: #545712;
$custom-light: #878656;
$custom-dark: #000000;
JSON
{
  "hex": "#545712",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 62.609,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44022,
    "c": 0.08816,
    "h": 112
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#545712
secondary
#393590
accent
#3FE947
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545712

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

Preview Lab → · Contrast checker → · Palette generator →

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