#545B22#545B22

#545B22 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.2% C 0.080 H 115.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#545B22
RGBrgb(84, 91, 34)
HSLhsl(67, 46%, 25%)
HSVhsv(67, 63%, 36%)
CMYKcmyk(7.7%, 0%, 62.6%, 64.3%)
CIE-LABlab(36.90, -11.79, 31.21)
CIE-LCHlch(36.90, 33.36, 110.69°)
OKLaboklab(45.19% -0.0345 0.0722)
OKLCHoklch(45.19% 0.08 115.5)
XYZxyz(7.6861, 9.4826, 2.9385)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B22 #29225B
analogous
#5B4622 #545B22 #385B22
triadic
#545B22 #22545B #5B2254
tetradic
#545B22 #225B46 #29225B #5B2238
square
#545B22 #225B46 #29225B #5B2238
split-complementary
#545B22 #22385B #46225B
monochromatic
#151608 #2B2E11 #545B22 #7D8833 #A6B443

Accessibility & contrast

On white

7.25
#545B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#545B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B22
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B22#FFFFFF#000000##FFFFFF
##545B221.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#615726
Tritanopia (blue-blind)
#59564F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b22;
/* rgb */ color: rgb(84, 91, 34);
/* oklch */ color: oklch(45.2% 0.080 115.5);
Tailwind
colors: {
  custom: {
    50: '#868960',
    500: '#545b22',
    950: '#000000',
  },
}
SCSS
$custom: #545b22;
$custom-light: #868960;
$custom-dark: #000000;
JSON
{
  "hex": "#545b22",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 67.368,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.07997,
    "h": 115.5
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#545B22
secondary
#524A8F
accent
#53D563
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545B22

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

Preview Lab → · Contrast checker → · Palette generator →

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