#545018#545018

#545018 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.076 H 105.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#545018
RGBrgb(84, 80, 24)
HSLhsl(56, 56%, 21%)
HSVhsv(56, 71%, 33%)
CMYKcmyk(0%, 4.8%, 71.4%, 67.1%)
CIE-LABlab(33.33, -6.17, 32.31)
CIE-LCHlch(33.33, 32.90, 100.80°)
OKLaboklab(42.31% -0.0198 0.0729)
OKLCHoklch(42.31% 0.076 105.2)
XYZxyz(6.6899, 7.6883, 1.9956)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545018 #181C54
analogous
#543218 #545018 #3A5418
triadic
#545018 #185450 #501854
tetradic
#545018 #185432 #181C54 #54183A
square
#545018 #185432 #181C54 #54183A
split-complementary
#545018 #183A54 #321854
monochromatic
#181707 #24230A #545018 #847D26 #B3AB33

Accessibility & contrast

On white

8.28
#545018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#545018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545018
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545018#FFFFFF#000000##FFFFFF
##5450181.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D11
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#5B4A45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #545018;
/* rgb */ color: rgb(84, 80, 24);
/* oklch */ color: oklch(42.3% 0.076 105.2);
Tailwind
colors: {
  custom: {
    50: '#868058',
    500: '#545018',
    950: '#000000',
  },
}
SCSS
$custom: #545018;
$custom-light: #868058;
$custom-dark: #000000;
JSON
{
  "hex": "#545018",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 56,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.07553,
    "h": 105.2
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#545018
secondary
#3D428B
accent
#53DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545018

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

Preview Lab → · Contrast checker → · Palette generator →

#545018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva