#545412#545412

#545412 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.085 H 109.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#545412
RGBrgb(84, 84, 18)
HSLhsl(60, 65%, 20%)
HSVhsv(60, 79%, 33%)
CMYKcmyk(0%, 0%, 78.6%, 67.1%)
CIE-LABlab(34.54, -8.89, 36.16)
CIE-LCHlch(34.54, 37.24, 103.82°)
OKLaboklab(43.26% -0.0282 0.0798)
OKLCHoklch(43.26% 0.085 109.5)
XYZxyz(6.9359, 8.2693, 1.8029)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545412 #121254
analogous
#543312 #545412 #335412
triadic
#545412 #125454 #541254
tetradic
#545412 #125433 #121254 #541233
square
#545412 #125433 #121254 #541233
split-complementary
#545412 #123354 #331254
monochromatic
#191905 #222207 #545412 #86861D #B9B928

Accessibility & contrast

On white

7.91
#545412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#545412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545412
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545412#FFFFFF#000000##FFFFFF
##5454121.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#5A4E47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545412;
/* rgb */ color: rgb(84, 84, 18);
/* oklch */ color: oklch(43.3% 0.085 109.5);
Tailwind
colors: {
  custom: {
    50: '#878355',
    500: '#545412',
    950: '#000000',
  },
}
SCSS
$custom: #545412;
$custom-light: #878355;
$custom-dark: #000000;
JSON
{
  "hex": "#545412",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.08465,
    "h": 109.5
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#545412
secondary
#35358D
accent
#40E840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545412

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

Preview Lab → · Contrast checker → · Palette generator →

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