#545C1B#545C1B

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

Color values

HEX#545C1B
RGBrgb(84, 92, 27)
HSLhsl(67, 55%, 23%)
HSVhsv(67, 71%, 36%)
CMYKcmyk(8.7%, 0%, 70.7%, 63.9%)
CIE-LABlab(37.15, -12.91, 34.88)
CIE-LCHlch(37.15, 37.19, 110.32°)
OKLaboklab(45.37% -0.0385 0.0788)
OKLCHoklch(45.37% 0.088 116)
XYZxyz(7.6813, 9.6183, 2.4886)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C1B #231B5C
analogous
#5C431B #545C1B #335C1B
triadic
#545C1B #1B545C #5C1B54
tetradic
#545C1B #1B5C43 #231B5C #5C1B33
square
#545C1B #1B5C43 #231B5C #5C1B33
split-complementary
#545C1B #1B335C #431B5C
monochromatic
#161807 #292D0D #545C1B #7F8B29 #AABB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545C1B#FFFFFF#000000##FFFFFF
##545C1B1.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)
#635712
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c1b;
/* rgb */ color: rgb(84, 92, 27);
/* oklch */ color: oklch(45.4% 0.088 116.0);
Tailwind
colors: {
  custom: {
    50: '#868a5b',
    500: '#545c1b',
    950: '#000000',
  },
}
SCSS
$custom: #545c1b;
$custom-light: #868a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#545c1b",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 67.385,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.0877,
    "h": 116
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#545C1B
secondary
#4B4192
accent
#4ADE5C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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