#545C1F#545C1F

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

Color values

HEX#545C1F
RGBrgb(84, 92, 31)
HSLhsl(68, 50%, 24%)
HSVhsv(68, 66%, 36%)
CMYKcmyk(8.7%, 0%, 66.3%, 63.9%)
CIE-LABlab(37.18, -12.61, 33.02)
CIE-LCHlch(37.18, 35.35, 110.90°)
OKLaboklab(45.42% -0.0371 0.0756)
OKLCHoklch(45.42% 0.084 116.2)
XYZxyz(7.7308, 9.6381, 2.7492)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C1F #271F5C
analogous
#5C461F #545C1F #365C1F
triadic
#545C1F #1F545C #5C1F54
tetradic
#545C1F #1F5C46 #271F5C #5C1F36
square
#545C1F #1F5C46 #271F5C #5C1F36
split-complementary
#545C1F #1F365C #461F5C
monochromatic
#151708 #2A2E10 #545C1F #7E8A2E #A8B83E

Accessibility & contrast

On white

7.17
#545C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C1F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C1F#FFFFFF#000000##FFFFFF
##545C1F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625718
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#59574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c1f;
/* rgb */ color: rgb(84, 92, 31);
/* oklch */ color: oklch(45.4% 0.084 116.2);
Tailwind
colors: {
  custom: {
    50: '#868a5e',
    500: '#545c1f',
    950: '#000000',
  },
}
SCSS
$custom: #545c1f;
$custom-light: #868a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#545c1f",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 67.869,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.08419,
    "h": 116.2
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#545C1F
secondary
#504691
accent
#4FD961
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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