#545C22#545C22

#545C22 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.4% C 0.081 H 116.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#545C22
RGBrgb(84, 92, 34)
HSLhsl(68, 46%, 25%)
HSVhsv(68, 63%, 36%)
CMYKcmyk(8.7%, 0%, 63%, 63.9%)
CIE-LABlab(37.22, -12.35, 31.57)
CIE-LCHlch(37.22, 33.90, 111.37°)
OKLaboklab(45.45% -0.0361 0.0729)
OKLCHoklch(45.45% 0.081 116.3)
XYZxyz(7.7722, 9.6547, 2.9672)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C22 #2A225C
analogous
#5C4722 #545C22 #375C22
triadic
#545C22 #22545C #5C2254
tetradic
#545C22 #225C47 #2A225C #5C2237
square
#545C22 #225C47 #2A225C #5C2237
split-complementary
#545C22 #22375C #47225C
monochromatic
#141608 #2B2F11 #545C22 #7D8933 #A6B543

Accessibility & contrast

On white

7.16
#545C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C22
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C22#FFFFFF#000000##FFFFFF
##545C221.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571C
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#595750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545c22;
/* rgb */ color: rgb(84, 92, 34);
/* oklch */ color: oklch(45.4% 0.081 116.3);
Tailwind
colors: {
  custom: {
    50: '#868a60',
    500: '#545c22',
    950: '#000000',
  },
}
SCSS
$custom: #545c22;
$custom-light: #868a60;
$custom-dark: #000000;
JSON
{
  "hex": "#545c22",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 68.276,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.08134,
    "h": 116.3
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#545C22
secondary
#534A90
accent
#52D664
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545C22

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

Preview Lab → · Contrast checker → · Palette generator →

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