#545017#545017

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

Color values

HEX#545017
RGBrgb(84, 80, 23)
HSLhsl(56, 57%, 21%)
HSVhsv(56, 73%, 33%)
CMYKcmyk(0%, 4.8%, 72.6%, 67.1%)
CIE-LABlab(33.32, -6.23, 32.78)
CIE-LCHlch(33.32, 33.36, 100.77°)
OKLaboklab(42.3% -0.0202 0.0737)
OKLCHoklch(42.3% 0.076 105.3)
XYZxyz(6.6797, 7.6842, 1.9418)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545017 #171B54
analogous
#543117 #545017 #395417
triadic
#545017 #175450 #501754
tetradic
#545017 #175431 #171B54 #541739
square
#545017 #175431 #171B54 #541739
split-complementary
#545017 #173954 #311754
monochromatic
#181707 #24220A #545017 #847E24 #B4AC31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545017#FFFFFF#000000##FFFFFF
##5450171.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)
#574D0F
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#5B4A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #545017;
/* rgb */ color: rgb(84, 80, 23);
/* oklch */ color: oklch(42.3% 0.076 105.3);
Tailwind
colors: {
  custom: {
    50: '#868058',
    500: '#545017',
    950: '#000000',
  },
}
SCSS
$custom: #545017;
$custom-light: #868058;
$custom-dark: #000000;
JSON
{
  "hex": "#545017",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 56.066,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.423,
    "c": 0.07638,
    "h": 105.3
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#545017
secondary
#3C418B
accent
#52E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545017

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

Preview Lab → · Contrast checker → · Palette generator →

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