#545C18#545C18

#545C18 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.090 H 115.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#545C18
RGBrgb(84, 92, 24)
HSLhsl(67, 59%, 23%)
HSVhsv(67, 74%, 36%)
CMYKcmyk(8.7%, 0%, 73.9%, 63.9%)
CIE-LABlab(37.12, -13.12, 36.19)
CIE-LCHlch(37.12, 38.49, 109.93°)
OKLaboklab(45.35% -0.0394 0.081)
OKLCHoklch(45.35% 0.09 115.9)
XYZxyz(7.6484, 9.6052, 2.3150)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C18 #20185C
analogous
#5C4218 #545C18 #325C18
triadic
#545C18 #18545C #5C1854
tetradic
#545C18 #185C42 #20185C #5C1832
square
#545C18 #185C42 #20185C #5C1832
split-complementary
#545C18 #18325C #42185C
monochromatic
#161806 #282B0B #545C18 #808D25 #ADBD31

Accessibility & contrast

On white

7.19
#545C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545C18
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C18#FFFFFF#000000##FFFFFF
##545C181.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#5A564F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c18;
/* rgb */ color: rgb(84, 92, 24);
/* oklch */ color: oklch(45.3% 0.090 115.9);
Tailwind
colors: {
  custom: {
    50: '#868a5a',
    500: '#545c18',
    950: '#000000',
  },
}
SCSS
$custom: #545c18;
$custom-light: #868a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#545c18",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 67.059,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.09009,
    "h": 115.9
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#545C18
secondary
#473D93
accent
#46E258
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C18

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

Preview Lab → · Contrast checker → · Palette generator →

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