#545A34#545A34

#545A34 is a mid, muted yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.058 H 116.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#545A34
RGBrgb(84, 90, 52)
HSLhsl(69, 27%, 28%)
HSVhsv(69, 42%, 35%)
CMYKcmyk(6.7%, 0%, 42.2%, 64.7%)
CIE-LABlab(36.83, -9.20, 21.16)
CIE-LCHlch(36.83, 23.07, 113.51°)
OKLaboklab(45.22% -0.0253 0.0517)
OKLCHoklch(45.22% 0.058 116.1)
XYZxyz(7.9322, 9.4452, 4.6534)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A34 #3A345A
analogous
#5A4D34 #545A34 #415A34
triadic
#545A34 #34545A #5A3454
tetradic
#545A34 #345A4D #3A345A #5A3441
square
#545A34 #345A4D #3A345A #5A3441
split-complementary
#545A34 #34415A #4D345A
monochromatic
#12130B #30331E #545A34 #78814A #9BA563

Accessibility & contrast

On white

7.27
#545A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545A34
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A34#FFFFFF#000000##FFFFFF
##545A341.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5631
Deuteranopia (green-blind)
#5E5736
Tritanopia (blue-blind)
#585651
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545a34;
/* rgb */ color: rgb(84, 90, 52);
/* oklch */ color: oklch(45.2% 0.058 116.1);
Tailwind
colors: {
  custom: {
    50: '#85886c',
    500: '#545a34',
    950: '#000000',
  },
}
SCSS
$custom: #545a34;
$custom-light: #85886c;
$custom-dark: #000000;
JSON
{
  "hex": "#545a34",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 52
  },
  "hsl": {
    "h": 69.474,
    "s": 26.761,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.05756,
    "h": 116.1
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#545A34
secondary
#665F8B
accent
#65C374
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B07
muted
#7C7C7A

Preview Lab

Preview with #545A34

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

Preview Lab → · Contrast checker → · Palette generator →

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