#545C11#545C11

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

Color values

HEX#545C11
RGBrgb(84, 92, 17)
HSLhsl(66, 69%, 21%)
HSVhsv(66, 82%, 36%)
CMYKcmyk(8.7%, 0%, 81.5%, 63.9%)
CIE-LABlab(37.08, -13.52, 38.92)
CIE-LCHlch(37.08, 41.20, 109.15°)
OKLaboklab(45.29% -0.0412 0.0855)
OKLCHoklch(45.29% 0.095 115.7)
XYZxyz(7.5847, 9.5797, 1.9797)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C11 #19115C
analogous
#5C3F11 #545C11 #2F5C11
triadic
#545C11 #11545C #5C1154
tetradic
#545C11 #115C3F #19115C #5C112F
square
#545C11 #115C3F #19115C #5C112F
split-complementary
#545C11 #112F5C #3F115C
monochromatic
#181A05 #252807 #545C11 #83901B #B2C324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545C11#FFFFFF#000000##FFFFFF
##545C111.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)
#635701
Deuteranopia (green-blind)
#625818
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c11;
/* rgb */ color: rgb(84, 92, 17);
/* oklch */ color: oklch(45.3% 0.095 115.7);
Tailwind
colors: {
  custom: {
    50: '#878a56',
    500: '#545c11',
    950: '#000000',
  },
}
SCSS
$custom: #545c11;
$custom-light: #878a56;
$custom-dark: #000000;
JSON
{
  "hex": "#545c11",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 66.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45294,
    "c": 0.09486,
    "h": 115.7
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#545C11
secondary
#3E3495
accent
#3CEC4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545C11

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

Preview Lab → · Contrast checker → · Palette generator →

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