#545C13#545C13

#545C13 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.094 H 115.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#545C13
RGBrgb(84, 92, 19)
HSLhsl(67, 66%, 22%)
HSVhsv(67, 79%, 36%)
CMYKcmyk(8.7%, 0%, 79.3%, 63.9%)
CIE-LABlab(37.09, -13.42, 38.19)
CIE-LCHlch(37.09, 40.48, 109.36°)
OKLaboklab(45.31% -0.0407 0.0843)
OKLCHoklch(45.31% 0.094 115.8)
XYZxyz(7.6010, 9.5862, 2.0659)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C13 #1B135C
analogous
#5C4013 #545C13 #305C13
triadic
#545C13 #13545C #5C1354
tetradic
#545C13 #135C40 #1B135C #5C1330
square
#545C13 #135C40 #1B135C #5C1330
split-complementary
#545C13 #13305C #40135C
monochromatic
#171905 #262909 #545C13 #828F1D #B1C128

Accessibility & contrast

On white

7.20
#545C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C13
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C13#FFFFFF#000000##FFFFFF
##545C131.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c13;
/* rgb */ color: rgb(84, 92, 19);
/* oklch */ color: oklch(45.3% 0.094 115.8);
Tailwind
colors: {
  custom: {
    50: '#878a57',
    500: '#545c13',
    950: '#000000',
  },
}
SCSS
$custom: #545c13;
$custom-light: #878a57;
$custom-dark: #000000;
JSON
{
  "hex": "#545c13",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 66.575,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.09362,
    "h": 115.8
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#545C13
secondary
#413794
accent
#3FE952
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545C13

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

Preview Lab → · Contrast checker → · Palette generator →

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