#545B2F#545B2F

#545B2F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.065 H 116.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#545B2F
RGBrgb(84, 91, 47)
HSLhsl(70, 32%, 27%)
HSVhsv(70, 48%, 36%)
CMYKcmyk(7.7%, 0%, 48.4%, 64.3%)
CIE-LABlab(37.06, -10.42, 24.35)
CIE-LCHlch(37.06, 26.48, 113.17°)
OKLaboklab(45.38% -0.0292 0.0586)
OKLCHoklch(45.38% 0.065 116.5)
XYZxyz(7.9104, 9.5723, 4.1197)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B2F #362F5B
analogous
#5B4C2F #545B2F #3E5B2F
triadic
#545B2F #2F545B #5B2F54
tetradic
#545B2F #2F5B4C #362F5B #5B2F3E
square
#545B2F #2F5B4C #362F5B #5B2F3E
split-complementary
#545B2F #2F3E5B #4C2F5B
monochromatic
#13140A #2F331A #545B2F #798344 #9DAA5A

Accessibility & contrast

On white

7.21
#545B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545B2F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B2F#FFFFFF#000000##FFFFFF
##545B2F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#585751
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b2f;
/* rgb */ color: rgb(84, 91, 47);
/* oklch */ color: oklch(45.4% 0.065 116.5);
Tailwind
colors: {
  custom: {
    50: '#858968',
    500: '#545b2f',
    950: '#000000',
  },
}
SCSS
$custom: #545b2f;
$custom-light: #858968;
$custom-dark: #000000;
JSON
{
  "hex": "#545b2f",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 69.545,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.06545,
    "h": 116.5
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#545B2F
secondary
#61598D
accent
#60C870
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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