#545C1D#545C1D

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

Color values

HEX#545C1D
RGBrgb(84, 92, 29)
HSLhsl(68, 52%, 24%)
HSVhsv(68, 68%, 36%)
CMYKcmyk(8.7%, 0%, 68.5%, 63.9%)
CIE-LABlab(37.17, -12.77, 33.97)
CIE-LCHlch(37.17, 36.29, 110.60°)
OKLaboklab(45.39% -0.0378 0.0772)
OKLCHoklch(45.39% 0.086 116.1)
XYZxyz(7.7052, 9.6279, 2.6146)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C1D #251D5C
analogous
#5C441D #545C1D #345C1D
triadic
#545C1D #1D545C #5C1D54
tetradic
#545C1D #1D5C44 #251D5C #5C1D34
square
#545C1D #1D5C44 #251D5C #5C1D34
split-complementary
#545C1D #1D345C #441D5C
monochromatic
#151707 #2A2D0E #545C1D #7E8B2C #A9B93A

Accessibility & contrast

On white

7.18
#545C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545C1D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C1D#FFFFFF#000000##FFFFFF
##545C1D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545c1d;
/* rgb */ color: rgb(84, 92, 29);
/* oklch */ color: oklch(45.4% 0.086 116.1);
Tailwind
colors: {
  custom: {
    50: '#868a5d',
    500: '#545c1d',
    950: '#000000',
  },
}
SCSS
$custom: #545c1d;
$custom-light: #868a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#545c1d",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 29
  },
  "hsl": {
    "h": 67.619,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.08599,
    "h": 116.1
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#545C1D
secondary
#4D4491
accent
#4CDC5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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