#545B11#545B11

#545B11 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.094 H 115.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#545B11
RGBrgb(84, 91, 17)
HSLhsl(66, 69%, 21%)
HSVhsv(66, 81%, 36%)
CMYKcmyk(7.7%, 0%, 81.3%, 64.3%)
CIE-LABlab(36.76, -12.96, 38.63)
CIE-LCHlch(36.76, 40.74, 108.54°)
OKLaboklab(45.04% -0.0396 0.0848)
OKLCHoklch(45.04% 0.094 115)
XYZxyz(7.4986, 9.4076, 1.9510)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B11 #18115B
analogous
#5B3D11 #545B11 #2F5B11
triadic
#545B11 #11545B #5B1154
tetradic
#545B11 #115B3D #18115B #5B112F
square
#545B11 #115B3D #18115B #5B112F
split-complementary
#545B11 #112F5B #3D115B
monochromatic
#181A05 #242707 #545B11 #848F1B #B3C224

Accessibility & contrast

On white

7.29
#545B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B11
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B11#FFFFFF#000000##FFFFFF
##545B111.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545b11;
/* rgb */ color: rgb(84, 91, 17);
/* oklch */ color: oklch(45.0% 0.094 115.0);
Tailwind
colors: {
  custom: {
    50: '#878956',
    500: '#545b11',
    950: '#000000',
  },
}
SCSS
$custom: #545b11;
$custom-light: #878956;
$custom-dark: #000000;
JSON
{
  "hex": "#545b11",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 65.676,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.09364,
    "h": 115
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#545B11
secondary
#3D3494
accent
#3CEB4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545B11

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

Preview Lab → · Contrast checker → · Palette generator →

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