#545D11#545D11

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

Color values

HEX#545D11
RGBrgb(84, 93, 17)
HSLhsl(67, 69%, 22%)
HSVhsv(67, 82%, 36%)
CMYKcmyk(9.7%, 0%, 81.7%, 63.5%)
CIE-LABlab(37.40, -14.08, 39.22)
CIE-LCHlch(37.40, 41.67, 109.74°)
OKLaboklab(45.55% -0.0427 0.0861)
OKLCHoklch(45.55% 0.096 116.4)
XYZxyz(7.6719, 9.7541, 2.0088)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D11 #1A115D
analogous
#5D4011 #545D11 #2E5D11
triadic
#545D11 #11545D #5D1154
tetradic
#545D11 #115D40 #1A115D #5D112E
square
#545D11 #115D40 #1A115D #5D112E
split-complementary
#545D11 #112E5D #40115D
monochromatic
#171A05 #252908 #545D11 #83911A #B1C424

Accessibility & contrast

On white

7.12
#545D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545D11
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D11#FFFFFF#000000##FFFFFF
##545D111.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645801
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d11;
/* rgb */ color: rgb(84, 93, 17);
/* oklch */ color: oklch(45.6% 0.096 116.4);
Tailwind
colors: {
  custom: {
    50: '#878a56',
    500: '#545d11',
    950: '#000000',
  },
}
SCSS
$custom: #545d11;
$custom-light: #878a56;
$custom-dark: #000000;
JSON
{
  "hex": "#545d11",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 67.105,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45551,
    "c": 0.09611,
    "h": 116.4
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#545D11
secondary
#403496
accent
#3CEC51
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545D11

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

Preview Lab → · Contrast checker → · Palette generator →

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