#545B20#545B20

#545B20 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.2% C 0.082 H 115.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#545B20
RGBrgb(84, 91, 32)
HSLhsl(67, 48%, 24%)
HSVhsv(67, 65%, 36%)
CMYKcmyk(7.7%, 0%, 64.8%, 64.3%)
CIE-LABlab(36.88, -11.96, 32.20)
CIE-LCHlch(36.88, 34.35, 110.38°)
OKLaboklab(45.17% -0.0352 0.074)
OKLCHoklch(45.17% 0.082 115.5)
XYZxyz(7.6581, 9.4714, 2.7910)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B20 #27205B
analogous
#5B4520 #545B20 #375B20
triadic
#545B20 #20545B #5B2054
tetradic
#545B20 #205B45 #27205B #5B2037
square
#545B20 #205B45 #27205B #5B2037
split-complementary
#545B20 #20375B #45205B
monochromatic
#151708 #2A2E10 #545B20 #7E8830 #A8B640

Accessibility & contrast

On white

7.26
#545B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#545B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B20
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B20#FFFFFF#000000##FFFFFF
##545B201.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#59564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b20;
/* rgb */ color: rgb(84, 91, 32);
/* oklch */ color: oklch(45.2% 0.082 115.5);
Tailwind
colors: {
  custom: {
    50: '#86895e',
    500: '#545b20',
    950: '#000000',
  },
}
SCSS
$custom: #545b20;
$custom-light: #86895e;
$custom-dark: #000000;
JSON
{
  "hex": "#545b20",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 67.119,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.08191,
    "h": 115.5
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#545B20
secondary
#50478F
accent
#50D860
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B20

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

Preview Lab → · Contrast checker → · Palette generator →

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