#545918#545918

#545918 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.086 H 113.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#545918
RGBrgb(84, 89, 24)
HSLhsl(65, 58%, 22%)
HSVhsv(65, 73%, 35%)
CMYKcmyk(5.6%, 0%, 73%, 65.1%)
CIE-LABlab(36.17, -11.42, 35.22)
CIE-LCHlch(36.17, 37.03, 107.97°)
OKLaboklab(44.58% -0.0346 0.079)
OKLCHoklch(44.58% 0.086 113.7)
XYZxyz(7.3936, 9.0957, 2.2301)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545918 #1D1859
analogous
#593D18 #545918 #345918
triadic
#545918 #185459 #591854
tetradic
#545918 #18593D #1D1859 #591834
square
#545918 #18593D #1D1859 #591834
split-complementary
#545918 #183459 #3D1859
monochromatic
#171806 #27290B #545918 #818925 #AFB932

Accessibility & contrast

On white

7.45
#545918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#545918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545918
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545918#FFFFFF#000000##FFFFFF
##5459181.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540E
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#5A534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #545918;
/* rgb */ color: rgb(84, 89, 24);
/* oklch */ color: oklch(44.6% 0.086 113.7);
Tailwind
colors: {
  custom: {
    50: '#868759',
    500: '#545918',
    950: '#000000',
  },
}
SCSS
$custom: #545918;
$custom-light: #868759;
$custom-dark: #000000;
JSON
{
  "hex": "#545918",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 64.615,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.08627,
    "h": 113.7
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#545918
secondary
#443D90
accent
#47E153
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545918

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

Preview Lab → · Contrast checker → · Palette generator →

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