#545318#545318

#545318 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.079 H 108.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#545318
RGBrgb(84, 83, 24)
HSLhsl(59, 56%, 21%)
HSVhsv(59, 71%, 33%)
CMYKcmyk(0%, 1.2%, 71.4%, 67.1%)
CIE-LABlab(34.27, -7.94, 33.29)
CIE-LCHlch(34.27, 34.22, 103.42°)
OKLaboklab(43.06% -0.0249 0.0749)
OKLCHoklch(43.06% 0.079 108.4)
XYZxyz(6.9145, 8.1375, 2.0704)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545318 #181954
analogous
#543518 #545318 #375418
triadic
#545318 #185453 #531854
tetradic
#545318 #185435 #181954 #541837
square
#545318 #185435 #181954 #541837
split-complementary
#545318 #183754 #351854
monochromatic
#181807 #24240A #545318 #848226 #B3B133

Accessibility & contrast

On white

7.99
#545318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#545318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545318
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545318#FFFFFF#000000##FFFFFF
##5453181.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F10
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#5A4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545318;
/* rgb */ color: rgb(84, 83, 24);
/* oklch */ color: oklch(43.1% 0.079 108.4);
Tailwind
colors: {
  custom: {
    50: '#868359',
    500: '#545318',
    950: '#000000',
  },
}
SCSS
$custom: #545318;
$custom-light: #868359;
$custom-dark: #000000;
JSON
{
  "hex": "#545318",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 59,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43061,
    "c": 0.07895,
    "h": 108.4
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#545318
secondary
#3D3E8B
accent
#4BDF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545318

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

Preview Lab → · Contrast checker → · Palette generator →

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