#545C20#545C20

#545C20 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.083 H 116.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#545C20
RGBrgb(84, 92, 32)
HSLhsl(68, 48%, 24%)
HSVhsv(68, 65%, 36%)
CMYKcmyk(8.7%, 0%, 65.2%, 63.9%)
CIE-LABlab(37.19, -12.53, 32.54)
CIE-LCHlch(37.19, 34.87, 111.05°)
OKLaboklab(45.43% -0.0368 0.0747)
OKLCHoklch(45.43% 0.083 116.2)
XYZxyz(7.7442, 9.6435, 2.8196)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C20 #28205C
analogous
#5C4620 #545C20 #365C20
triadic
#545C20 #20545C #5C2054
tetradic
#545C20 #205C46 #28205C #5C2036
square
#545C20 #205C46 #28205C #5C2036
split-complementary
#545C20 #20365C #46205C
monochromatic
#151708 #2B2F10 #545C20 #7D8930 #A7B740

Accessibility & contrast

On white

7.17
#545C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C20
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C20#FFFFFF#000000##FFFFFF
##545C201.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625719
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#59574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c20;
/* rgb */ color: rgb(84, 92, 32);
/* oklch */ color: oklch(45.4% 0.083 116.2);
Tailwind
colors: {
  custom: {
    50: '#868a5e',
    500: '#545c20',
    950: '#000000',
  },
}
SCSS
$custom: #545c20;
$custom-light: #868a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#545c20",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 68,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.08326,
    "h": 116.2
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#545C20
secondary
#514790
accent
#50D862
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C20

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

Preview Lab → · Contrast checker → · Palette generator →

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