#545D16#545D16

#545D16 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.6% C 0.093 H 116.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#545D16
RGBrgb(84, 93, 22)
HSLhsl(68, 62%, 23%)
HSVhsv(68, 76%, 36%)
CMYKcmyk(9.7%, 0%, 76.3%, 63.5%)
CIE-LABlab(37.43, -13.80, 37.33)
CIE-LCHlch(37.43, 39.80, 110.29°)
OKLaboklab(45.59% -0.0415 0.0831)
OKLCHoklch(45.59% 0.093 116.5)
XYZxyz(7.7155, 9.7715, 2.2385)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D16 #1F165D
analogous
#5D4316 #545D16 #305D16
triadic
#545D16 #16545D #5D1654
tetradic
#545D16 #165D43 #1F165D #5D1630
square
#545D16 #165D43 #1F165D #5D1630
split-complementary
#545D16 #16305D #43165D
monochromatic
#161906 #272C0A #545D16 #818E22 #ADC02D

Accessibility & contrast

On white

7.11
#545D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#545D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D16
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D16#FFFFFF#000000##FFFFFF
##545D161.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d16;
/* rgb */ color: rgb(84, 93, 22);
/* oklch */ color: oklch(45.6% 0.093 116.5);
Tailwind
colors: {
  custom: {
    50: '#878a59',
    500: '#545d16',
    950: '#000000',
  },
}
SCSS
$custom: #545d16;
$custom-light: #878a59;
$custom-dark: #000000;
JSON
{
  "hex": "#545d16",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 67.606,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.09286,
    "h": 116.5
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#545D16
secondary
#463B94
accent
#43E557
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D16

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

Preview Lab → · Contrast checker → · Palette generator →

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