#545B1F#545B1F

#545B1F is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.2% C 0.083 H 115.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#545B1F
RGBrgb(84, 91, 31)
HSLhsl(67, 49%, 24%)
HSVhsv(67, 66%, 36%)
CMYKcmyk(7.7%, 0%, 65.9%, 64.3%)
CIE-LABlab(36.87, -12.04, 32.68)
CIE-LCHlch(36.87, 34.83, 110.23°)
OKLaboklab(45.16% -0.0356 0.0748)
OKLCHoklch(45.16% 0.083 115.4)
XYZxyz(7.6447, 9.4660, 2.7205)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B1F #261F5B
analogous
#5B441F #545B1F #365B1F
triadic
#545B1F #1F545B #5B1F54
tetradic
#545B1F #1F5B44 #261F5B #5B1F36
square
#545B1F #1F5B44 #261F5B #5B1F36
split-complementary
#545B1F #1F365B #441F5B
monochromatic
#151708 #2A2D0F #545B1F #7E892F #A8B63E

Accessibility & contrast

On white

7.26
#545B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545B1F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B1F#FFFFFF#000000##FFFFFF
##545B1F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#59564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b1f;
/* rgb */ color: rgb(84, 91, 31);
/* oklch */ color: oklch(45.2% 0.083 115.4);
Tailwind
colors: {
  custom: {
    50: '#86895e',
    500: '#545b1f',
    950: '#000000',
  },
}
SCSS
$custom: #545b1f;
$custom-light: #86895e;
$custom-dark: #000000;
JSON
{
  "hex": "#545b1f",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 67,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.08285,
    "h": 115.4
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#545B1F
secondary
#4F4690
accent
#4FD95F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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