#545B1A#545B1A

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

Color values

HEX#545B1A
RGBrgb(84, 91, 26)
HSLhsl(66, 56%, 23%)
HSVhsv(66, 71%, 36%)
CMYKcmyk(7.7%, 0%, 71.4%, 64.3%)
CIE-LABlab(36.82, -12.42, 34.99)
CIE-LCHlch(36.82, 37.13, 109.54°)
OKLaboklab(45.11% -0.0372 0.0789)
OKLCHoklch(45.11% 0.087 115.2)
XYZxyz(7.5839, 9.4417, 2.4000)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B1A #211A5B
analogous
#5B421A #545B1A #335B1A
triadic
#545B1A #1A545B #5B1A54
tetradic
#545B1A #1A5B42 #211A5B #5B1A33
square
#545B1A #1A5B42 #211A5B #5B1A33
split-complementary
#545B1A #1A335B #421A5B
monochromatic
#161807 #282B0C #545B1A #808B28 #ACBA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545B1A#FFFFFF#000000##FFFFFF
##545B1A1.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)
#625611
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b1a;
/* rgb */ color: rgb(84, 91, 26);
/* oklch */ color: oklch(45.1% 0.087 115.2);
Tailwind
colors: {
  custom: {
    50: '#86895b',
    500: '#545b1a',
    950: '#000000',
  },
}
SCSS
$custom: #545b1a;
$custom-light: #86895b;
$custom-dark: #000000;
JSON
{
  "hex": "#545b1a",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 26
  },
  "hsl": {
    "h": 66.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.08722,
    "h": 115.2
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#545B1A
secondary
#494091
accent
#49DF59
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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