#545112#545112

#545112 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.081 H 106.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#545112
RGBrgb(84, 81, 18)
HSLhsl(57, 65%, 20%)
HSVhsv(57, 79%, 33%)
CMYKcmyk(0%, 3.6%, 78.6%, 67.1%)
CIE-LABlab(33.59, -7.13, 35.25)
CIE-LCHlch(33.59, 35.97, 101.43°)
OKLaboklab(42.51% -0.0233 0.0779)
OKLCHoklch(42.51% 0.081 106.6)
XYZxyz(6.7080, 7.8136, 1.7270)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545112 #121554
analogous
#543012 #545112 #365412
triadic
#545112 #125451 #511254
tetradic
#545112 #125430 #121554 #541236
square
#545112 #125430 #121554 #541236
split-complementary
#545112 #123654 #301254
monochromatic
#191805 #222007 #545112 #86821D #B9B228

Accessibility & contrast

On white

8.19
#545112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#545112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545112
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545112#FFFFFF#000000##FFFFFF
##5451121.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#5B4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #545112;
/* rgb */ color: rgb(84, 81, 18);
/* oklch */ color: oklch(42.5% 0.081 106.6);
Tailwind
colors: {
  custom: {
    50: '#878155',
    500: '#545112',
    950: '#000000',
  },
}
SCSS
$custom: #545112;
$custom-light: #878155;
$custom-dark: #000000;
JSON
{
  "hex": "#545112",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 57.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.0813,
    "h": 106.6
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#545112
secondary
#35398D
accent
#48E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545112

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

Preview Lab → · Contrast checker → · Palette generator →

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