#545A16#545A16

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

Color values

HEX#545A16
RGBrgb(84, 90, 22)
HSLhsl(65, 61%, 22%)
HSVhsv(65, 76%, 35%)
CMYKcmyk(6.7%, 0%, 75.6%, 64.7%)
CIE-LABlab(36.47, -12.12, 36.39)
CIE-LCHlch(36.47, 38.35, 108.42°)
OKLaboklab(44.82% -0.0368 0.0811)
OKLCHoklch(44.82% 0.089 114.4)
XYZxyz(7.4573, 9.2552, 2.1525)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A16 #1C165A
analogous
#5A3E16 #545A16 #325A16
triadic
#545A16 #16545A #5A1654
tetradic
#545A16 #165A3E #1C165A #5A1632
square
#545A16 #165A3E #1C165A #5A1632
split-complementary
#545A16 #16325A #3E165A
monochromatic
#171906 #26290A #545A16 #828B22 #B0BC2E

Accessibility & contrast

On white

7.37
#545A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545A16
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A16#FFFFFF#000000##FFFFFF
##545A161.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545a16;
/* rgb */ color: rgb(84, 90, 22);
/* oklch */ color: oklch(44.8% 0.089 114.4);
Tailwind
colors: {
  custom: {
    50: '#868858',
    500: '#545a16',
    950: '#000000',
  },
}
SCSS
$custom: #545a16;
$custom-light: #868858;
$custom-dark: #000000;
JSON
{
  "hex": "#545a16",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 65.294,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.08905,
    "h": 114.4
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#545A16
secondary
#423B91
accent
#44E452
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A16

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

Preview Lab → · Contrast checker → · Palette generator →

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