#545812#545812

#545812 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.089 H 112.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#545812
RGBrgb(84, 88, 18)
HSLhsl(63, 66%, 21%)
HSVhsv(63, 80%, 35%)
CMYKcmyk(4.5%, 0%, 79.5%, 65.5%)
CIE-LABlab(35.81, -11.20, 37.36)
CIE-LCHlch(35.81, 39.01, 106.69°)
OKLaboklab(44.28% -0.0347 0.0824)
OKLCHoklch(44.28% 0.089 112.8)
XYZxyz(7.2553, 8.9081, 1.9094)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545812 #161258
analogous
#583912 #545812 #315812
triadic
#545812 #125458 #581254
tetradic
#545812 #125839 #161258 #581231
square
#545812 #125839 #161258 #581231
split-complementary
#545812 #123158 #391258
monochromatic
#181905 #242508 #545812 #848B1C #B5BE27

Accessibility & contrast

On white

7.55
#545812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#545812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545812
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545812#FFFFFF#000000##FFFFFF
##5458121.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #545812;
/* rgb */ color: rgb(84, 88, 18);
/* oklch */ color: oklch(44.3% 0.089 112.8);
Tailwind
colors: {
  custom: {
    50: '#878756',
    500: '#545812',
    950: '#000000',
  },
}
SCSS
$custom: #545812;
$custom-light: #878756;
$custom-dark: #000000;
JSON
{
  "hex": "#545812",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 63.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.08936,
    "h": 112.8
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#545812
secondary
#3A3591
accent
#3FE949
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545812

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

Preview Lab → · Contrast checker → · Palette generator →

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