#545C28#545C28

#545C28 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.075 H 116.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#545C28
RGBrgb(84, 92, 40)
HSLhsl(69, 39%, 26%)
HSVhsv(69, 57%, 36%)
CMYKcmyk(8.7%, 0%, 56.5%, 63.9%)
CIE-LABlab(37.28, -11.78, 28.50)
CIE-LCHlch(37.28, 30.84, 112.46°)
OKLaboklab(45.53% -0.0338 0.0671)
OKLCHoklch(45.53% 0.075 116.7)
XYZxyz(7.8664, 9.6924, 3.4635)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C28 #30285C
analogous
#5C4A28 #545C28 #3A5C28
triadic
#545C28 #28545C #5C2854
tetradic
#545C28 #285C4A #30285C #5C283A
square
#545C28 #285C4A #30285C #5C283A
split-complementary
#545C28 #283A5C #4A285C
monochromatic
#131509 #2D3115 #545C28 #7B873B #A2B14D

Accessibility & contrast

On white

7.15
#545C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#545C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C28
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C28#FFFFFF#000000##FFFFFF
##545C281.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625723
Deuteranopia (green-blind)
#61582B
Tritanopia (blue-blind)
#595750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545c28;
/* rgb */ color: rgb(84, 92, 40);
/* oklch */ color: oklch(45.5% 0.075 116.7);
Tailwind
colors: {
  custom: {
    50: '#858a64',
    500: '#545c28',
    950: '#000000',
  },
}
SCSS
$custom: #545c28;
$custom-light: #858a64;
$custom-dark: #000000;
JSON
{
  "hex": "#545c28",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 69.231,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.07508,
    "h": 116.7
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#545C28
secondary
#5B518F
accent
#59CF6B
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #545C28

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

Preview Lab → · Contrast checker → · Palette generator →

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