#545A17#545A17

#545A17 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.088 H 114.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#545A17
RGBrgb(84, 90, 23)
HSLhsl(65, 59%, 22%)
HSVhsv(65, 74%, 35%)
CMYKcmyk(6.7%, 0%, 74.4%, 64.7%)
CIE-LABlab(36.48, -12.05, 35.97)
CIE-LCHlch(36.48, 37.94, 108.53°)
OKLaboklab(44.83% -0.0365 0.0804)
OKLCHoklch(44.83% 0.088 114.4)
XYZxyz(7.4672, 9.2591, 2.2043)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A17 #1D175A
analogous
#5A3F17 #545A17 #335A17
triadic
#545A17 #17545A #5A1754
tetradic
#545A17 #175A3F #1D175A #5A1733
square
#545A17 #175A3F #1D175A #5A1733
split-complementary
#545A17 #17335A #3F175A
monochromatic
#171806 #27290B #545A17 #818B23 #AFBB30

Accessibility & contrast

On white

7.36
#545A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#545A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A17
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A17#FFFFFF#000000##FFFFFF
##545A171.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#5A544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a17;
/* rgb */ color: rgb(84, 90, 23);
/* oklch */ color: oklch(44.8% 0.088 114.4);
Tailwind
colors: {
  custom: {
    50: '#868859',
    500: '#545a17',
    950: '#000000',
  },
}
SCSS
$custom: #545a17;
$custom-light: #868859;
$custom-dark: #000000;
JSON
{
  "hex": "#545a17",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 65.373,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.08831,
    "h": 114.4
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#545A17
secondary
#443C91
accent
#45E253
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A17

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

Preview Lab → · Contrast checker → · Palette generator →

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