#545B19#545B19

#545B19 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.088 H 115.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#545B19
RGBrgb(84, 91, 25)
HSLhsl(66, 57%, 23%)
HSVhsv(66, 73%, 36%)
CMYKcmyk(7.7%, 0%, 72.5%, 64.3%)
CIE-LABlab(36.81, -12.49, 35.43)
CIE-LCHlch(36.81, 37.57, 109.42°)
OKLaboklab(45.1% -0.0375 0.0796)
OKLCHoklch(45.1% 0.088 115.2)
XYZxyz(7.5729, 9.4373, 2.3422)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B19 #20195B
analogous
#5B4119 #545B19 #335B19
triadic
#545B19 #19545B #5B1954
tetradic
#545B19 #195B41 #20195B #5B1933
square
#545B19 #195B41 #20195B #5B1933
split-complementary
#545B19 #19335B #41195B
monochromatic
#161807 #282B0C #545B19 #808B26 #ADBB33

Accessibility & contrast

On white

7.27
#545B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#545B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B19
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B19#FFFFFF#000000##FFFFFF
##545B191.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#5A554E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b19;
/* rgb */ color: rgb(84, 91, 25);
/* oklch */ color: oklch(45.1% 0.088 115.2);
Tailwind
colors: {
  custom: {
    50: '#86895a',
    500: '#545b19',
    950: '#000000',
  },
}
SCSS
$custom: #545b19;
$custom-light: #86895a;
$custom-dark: #000000;
JSON
{
  "hex": "#545b19",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 66.364,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.08803,
    "h": 115.2
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#545B19
secondary
#473F91
accent
#48E058
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545B19

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

Preview Lab → · Contrast checker → · Palette generator →

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