#545D13#545D13

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

Color values

HEX#545D13
RGBrgb(84, 93, 19)
HSLhsl(67, 66%, 22%)
HSVhsv(67, 80%, 36%)
CMYKcmyk(9.7%, 0%, 79.6%, 63.5%)
CIE-LABlab(37.41, -13.97, 38.49)
CIE-LCHlch(37.41, 40.95, 109.95°)
OKLaboklab(45.56% -0.0422 0.085)
OKLCHoklch(45.56% 0.095 116.4)
XYZxyz(7.6882, 9.7606, 2.0949)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D13 #1C135D
analogous
#5D4113 #545D13 #2F5D13
triadic
#545D13 #13545D #5D1354
tetradic
#545D13 #135D41 #1C135D #5D132F
square
#545D13 #135D41 #1C135D #5D132F
split-complementary
#545D13 #132F5D #41135D
monochromatic
#171905 #262A09 #545D13 #82901D #B0C328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545D13#FFFFFF#000000##FFFFFF
##545D131.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)
#645804
Deuteranopia (green-blind)
#635919
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d13;
/* rgb */ color: rgb(84, 93, 19);
/* oklch */ color: oklch(45.6% 0.095 116.4);
Tailwind
colors: {
  custom: {
    50: '#878a57',
    500: '#545d13',
    950: '#000000',
  },
}
SCSS
$custom: #545d13;
$custom-light: #878a57;
$custom-dark: #000000;
JSON
{
  "hex": "#545d13",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 67.297,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45564,
    "c": 0.09488,
    "h": 116.4
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#545D13
secondary
#423795
accent
#3FE953
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545D13

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

Preview Lab → · Contrast checker → · Palette generator →

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