#545A20#545A20

#545A20 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.081 H 114.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#545A20
RGBrgb(84, 90, 32)
HSLhsl(66, 48%, 24%)
HSVhsv(66, 64%, 35%)
CMYKcmyk(6.7%, 0%, 64.4%, 64.7%)
CIE-LABlab(36.56, -11.39, 31.85)
CIE-LCHlch(36.56, 33.83, 109.68°)
OKLaboklab(44.92% -0.0336 0.0732)
OKLCHoklch(44.92% 0.081 114.7)
XYZxyz(7.5732, 9.3016, 2.7626)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A20 #26205A
analogous
#5A4320 #545A20 #375A20
triadic
#545A20 #20545A #5A2054
tetradic
#545A20 #205A43 #26205A #5A2037
square
#545A20 #205A43 #26205A #5A2037
split-complementary
#545A20 #20375A #43205A
monochromatic
#151708 #2A2D10 #545A20 #7E8730 #A8B440

Accessibility & contrast

On white

7.34
#545A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#545A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A20
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A20#FFFFFF#000000##FFFFFF
##545A201.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605619
Deuteranopia (green-blind)
#605724
Tritanopia (blue-blind)
#59554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a20;
/* rgb */ color: rgb(84, 90, 32);
/* oklch */ color: oklch(44.9% 0.081 114.7);
Tailwind
colors: {
  custom: {
    50: '#86885e',
    500: '#545a20',
    950: '#000000',
  },
}
SCSS
$custom: #545a20;
$custom-light: #86885e;
$custom-dark: #000000;
JSON
{
  "hex": "#545a20",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 32
  },
  "hsl": {
    "h": 66.207,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.08057,
    "h": 114.7
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#545A20
secondary
#4F478E
accent
#51D75F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A20

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

Preview Lab → · Contrast checker → · Palette generator →

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