#545A22#545A22

#545A22 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.079 H 114.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#545A22
RGBrgb(84, 90, 34)
HSLhsl(66, 45%, 24%)
HSVhsv(66, 62%, 35%)
CMYKcmyk(6.7%, 0%, 62.2%, 64.7%)
CIE-LABlab(36.58, -11.22, 30.86)
CIE-LCHlch(36.58, 32.83, 109.98°)
OKLaboklab(44.94% -0.0329 0.0714)
OKLCHoklch(44.94% 0.079 114.7)
XYZxyz(7.6012, 9.3128, 2.9102)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A22 #28225A
analogous
#5A4422 #545A22 #385A22
triadic
#545A22 #22545A #5A2254
tetradic
#545A22 #225A44 #28225A #5A2238
square
#545A22 #225A44 #28225A #5A2238
split-complementary
#545A22 #22385A #44225A
monochromatic
#151608 #2B2E11 #545A22 #7D8633 #A7B344

Accessibility & contrast

On white

7.34
#545A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#545A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A22
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A22#FFFFFF#000000##FFFFFF
##545A221.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561C
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#59554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a22;
/* rgb */ color: rgb(84, 90, 34);
/* oklch */ color: oklch(44.9% 0.079 114.7);
Tailwind
colors: {
  custom: {
    50: '#86885f',
    500: '#545a22',
    950: '#000000',
  },
}
SCSS
$custom: #545a22;
$custom-light: #86885f;
$custom-dark: #000000;
JSON
{
  "hex": "#545a22",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 34
  },
  "hsl": {
    "h": 66.429,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.0786,
    "h": 114.7
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#545A22
secondary
#514A8E
accent
#53D561
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545A22

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

Preview Lab → · Contrast checker → · Palette generator →

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