#545D1B#545D1B

#545D1B is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.6% C 0.089 H 116.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#545D1B
RGBrgb(84, 93, 27)
HSLhsl(68, 55%, 24%)
HSVhsv(68, 71%, 36%)
CMYKcmyk(9.7%, 0%, 71%, 63.5%)
CIE-LABlab(37.47, -13.48, 35.21)
CIE-LCHlch(37.47, 37.70, 110.94°)
OKLaboklab(45.63% -0.04 0.0795)
OKLCHoklch(45.63% 0.089 116.7)
XYZxyz(7.7685, 9.7927, 2.5176)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D1B #241B5D
analogous
#5D451B #545D1B #335D1B
triadic
#545D1B #1B545D #5D1B54
tetradic
#545D1B #1B5D45 #241B5D #5D1B33
square
#545D1B #1B5D45 #241B5D #5D1B33
split-complementary
#545D1B #1B335D #451B5D
monochromatic
#151807 #292E0D #545D1B #7F8C29 #AABC37

Accessibility & contrast

On white

7.10
#545D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#545D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D1B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D1B#FFFFFF#000000##FFFFFF
##545D1B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645812
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#595850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d1b;
/* rgb */ color: rgb(84, 93, 27);
/* oklch */ color: oklch(45.6% 0.089 116.7);
Tailwind
colors: {
  custom: {
    50: '#868a5b',
    500: '#545d1b',
    950: '#000000',
  },
}
SCSS
$custom: #545d1b;
$custom-light: #868a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#545d1b",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 27
  },
  "hsl": {
    "h": 68.182,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.08903,
    "h": 116.7
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#545D1B
secondary
#4C4193
accent
#49DE5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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