#545A19#545A19

#545A19 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.087 H 114.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#545A19
RGBrgb(84, 90, 25)
HSLhsl(66, 57%, 23%)
HSVhsv(66, 72%, 35%)
CMYKcmyk(6.7%, 0%, 72.2%, 64.7%)
CIE-LABlab(36.49, -11.92, 35.11)
CIE-LCHlch(36.49, 37.08, 108.76°)
OKLaboklab(44.84% -0.0359 0.079)
OKLCHoklch(44.84% 0.087 114.5)
XYZxyz(7.4880, 9.2675, 2.3139)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A19 #1F195A
analogous
#5A3F19 #545A19 #345A19
triadic
#545A19 #19545A #5A1954
tetradic
#545A19 #195A3F #1F195A #5A1934
square
#545A19 #195A3F #1F195A #5A1934
split-complementary
#545A19 #19345A #3F195A
monochromatic
#161807 #272A0C #545A19 #818A26 #ADBA34

Accessibility & contrast

On white

7.36
#545A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#545A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A19
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A19#FFFFFF#000000##FFFFFF
##545A191.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550F
Deuteranopia (green-blind)
#61561E
Tritanopia (blue-blind)
#5A544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a19;
/* rgb */ color: rgb(84, 90, 25);
/* oklch */ color: oklch(44.8% 0.087 114.5);
Tailwind
colors: {
  custom: {
    50: '#86885a',
    500: '#545a19',
    950: '#000000',
  },
}
SCSS
$custom: #545a19;
$custom-light: #86885a;
$custom-dark: #000000;
JSON
{
  "hex": "#545a19",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 65.538,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.08675,
    "h": 114.5
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#545A19
secondary
#463E90
accent
#48E056
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A19

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

Preview Lab → · Contrast checker → · Palette generator →

#545A19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva