#545B1E#545B1E

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

Color values

HEX#545B1E
RGBrgb(84, 91, 30)
HSLhsl(67, 50%, 24%)
HSVhsv(67, 67%, 36%)
CMYKcmyk(7.7%, 0%, 67%, 64.3%)
CIE-LABlab(36.86, -12.12, 33.16)
CIE-LCHlch(36.86, 35.30, 110.08°)
OKLaboklab(45.15% -0.0359 0.0757)
OKLCHoklch(45.15% 0.084 115.4)
XYZxyz(7.6318, 9.4608, 2.6521)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B1E #251E5B
analogous
#5B431E #545B1E #355B1E
triadic
#545B1E #1E545B #5B1E54
tetradic
#545B1E #1E5B43 #251E5B #5B1E35
square
#545B1E #1E5B43 #251E5B #5B1E35
split-complementary
#545B1E #1E355B #431E5B
monochromatic
#151708 #2A2D0F #545B1E #7E892D #A9B73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545B1E#FFFFFF#000000##FFFFFF
##545B1E1.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)
#625616
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#59564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b1e;
/* rgb */ color: rgb(84, 91, 30);
/* oklch */ color: oklch(45.1% 0.084 115.4);
Tailwind
colors: {
  custom: {
    50: '#86895d',
    500: '#545b1e',
    950: '#000000',
  },
}
SCSS
$custom: #545b1e;
$custom-light: #86895d;
$custom-dark: #000000;
JSON
{
  "hex": "#545b1e",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 30
  },
  "hsl": {
    "h": 66.885,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.08377,
    "h": 115.4
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#545B1E
secondary
#4D4590
accent
#4EDA5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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