#545D1A#545D1A

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

Color values

HEX#545D1A
RGBrgb(84, 93, 26)
HSLhsl(68, 56%, 23%)
HSVhsv(68, 72%, 36%)
CMYKcmyk(9.7%, 0%, 72%, 63.5%)
CIE-LABlab(37.46, -13.55, 35.65)
CIE-LCHlch(37.46, 38.14, 110.81°)
OKLaboklab(45.62% -0.0403 0.0803)
OKLCHoklch(45.62% 0.09 116.7)
XYZxyz(7.7571, 9.7882, 2.4577)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D1A #231A5D
analogous
#5D441A #545D1A #325D1A
triadic
#545D1A #1A545D #5D1A54
tetradic
#545D1A #1A5D44 #231A5D #5D1A32
square
#545D1A #1A5D44 #231A5D #5D1A32
split-complementary
#545D1A #1A325D #441A5D
monochromatic
#161807 #292D0D #545D1A #7F8D27 #AABD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545D1A#FFFFFF#000000##FFFFFF
##545D1A1.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)
#645810
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#595850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d1a;
/* rgb */ color: rgb(84, 93, 26);
/* oklch */ color: oklch(45.6% 0.090 116.7);
Tailwind
colors: {
  custom: {
    50: '#868a5b',
    500: '#545d1a',
    950: '#000000',
  },
}
SCSS
$custom: #545d1a;
$custom-light: #868a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#545d1a",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 26
  },
  "hsl": {
    "h": 68.06,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.08983,
    "h": 116.7
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#545D1A
secondary
#4B4093
accent
#48E05D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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