#545C1C#545C1C

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

Color values

HEX#545C1C
RGBrgb(84, 92, 28)
HSLhsl(68, 53%, 24%)
HSVhsv(68, 70%, 36%)
CMYKcmyk(8.7%, 0%, 69.6%, 63.9%)
CIE-LABlab(37.16, -12.84, 34.42)
CIE-LCHlch(37.16, 36.74, 110.46°)
OKLaboklab(45.38% -0.0381 0.078)
OKLCHoklch(45.38% 0.087 116)
XYZxyz(7.6931, 9.6231, 2.5506)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C1C #241C5C
analogous
#5C441C #545C1C #345C1C
triadic
#545C1C #1C545C #5C1C54
tetradic
#545C1C #1C5C44 #241C5C #5C1C34
square
#545C1C #1C5C44 #241C5C #5C1C34
split-complementary
#545C1C #1C345C #441C5C
monochromatic
#151707 #292D0E #545C1C #7F8B2A #AABA39

Accessibility & contrast

On white

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

On black

2.92
#545C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##545C1C#FFFFFF#000000##FFFFFF
##545C1C1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545c1c;
/* rgb */ color: rgb(84, 92, 28);
/* oklch */ color: oklch(45.4% 0.087 116.0);
Tailwind
colors: {
  custom: {
    50: '#868a5c',
    500: '#545c1c',
    950: '#000000',
  },
}
SCSS
$custom: #545c1c;
$custom-light: #868a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#545c1c",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 28
  },
  "hsl": {
    "h": 67.5,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.08686,
    "h": 116
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#545C1C
secondary
#4C4291
accent
#4BDD5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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