#545A2C#545A2C

#545A2C is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.068 H 115.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#545A2C
RGBrgb(84, 90, 44)
HSLhsl(68, 34%, 26%)
HSVhsv(68, 51%, 35%)
CMYKcmyk(6.7%, 0%, 51.1%, 64.7%)
CIE-LABlab(36.70, -10.20, 25.60)
CIE-LCHlch(36.70, 27.56, 111.72°)
OKLaboklab(45.08% -0.0289 0.0611)
OKLCHoklch(45.08% 0.068 115.3)
XYZxyz(7.7670, 9.3791, 3.7836)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A2C #322C5A
analogous
#5A492C #545A2C #3D5A2C
triadic
#545A2C #2C545A #5A2C54
tetradic
#545A2C #2C5A49 #322C5A #5A2C3D
square
#545A2C #2C5A49 #322C5A #5A2C3D
split-complementary
#545A2C #2C3D5A #492C5A
monochromatic
#13150A #2E3118 #545A2C #7A8340 #A0AC55

Accessibility & contrast

On white

7.30
#545A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A2C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A2C#FFFFFF#000000##FFFFFF
##545A2C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#59554F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a2c;
/* rgb */ color: rgb(84, 90, 44);
/* oklch */ color: oklch(45.1% 0.068 115.3);
Tailwind
colors: {
  custom: {
    50: '#858866',
    500: '#545a2c',
    950: '#000000',
  },
}
SCSS
$custom: #545a2c;
$custom-light: #858866;
$custom-dark: #000000;
JSON
{
  "hex": "#545a2c",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 44
  },
  "hsl": {
    "h": 67.826,
    "s": 34.328,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.0676,
    "h": 115.3
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#545A2C
secondary
#5D568C
accent
#5DCA6C
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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