#545B2C#545B2C

#545B2C is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.069 H 116.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#545B2C
RGBrgb(84, 91, 44)
HSLhsl(69, 35%, 26%)
HSVhsv(69, 52%, 36%)
CMYKcmyk(7.7%, 0%, 51.6%, 64.3%)
CIE-LABlab(37.02, -10.77, 25.99)
CIE-LCHlch(37.02, 28.13, 112.52°)
OKLaboklab(45.33% -0.0305 0.062)
OKLCHoklch(45.33% 0.069 116.2)
XYZxyz(7.8520, 9.5489, 3.8119)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B2C #332C5B
analogous
#5B4B2C #545B2C #3D5B2C
triadic
#545B2C #2C545B #5B2C54
tetradic
#545B2C #2C5B4B #332C5B #5B2C3D
square
#545B2C #2C5B4B #332C5B #5B2C3D
split-complementary
#545B2C #2C3D5B #4B2C5B
monochromatic
#13150A #2E3218 #545B2C #7A8440 #A0AD55

Accessibility & contrast

On white

7.22
#545B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#545B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B2C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B2C#FFFFFF#000000##FFFFFF
##545B2C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615728
Deuteranopia (green-blind)
#60572E
Tritanopia (blue-blind)
#595650
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b2c;
/* rgb */ color: rgb(84, 91, 44);
/* oklch */ color: oklch(45.3% 0.069 116.2);
Tailwind
colors: {
  custom: {
    50: '#858966',
    500: '#545b2c',
    950: '#000000',
  },
}
SCSS
$custom: #545b2c;
$custom-light: #858966;
$custom-dark: #000000;
JSON
{
  "hex": "#545b2c",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 68.936,
    "s": 34.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.06906,
    "h": 116.2
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#545B2C
secondary
#5E568D
accent
#5DCB6D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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