#545D22#545D22

#545D22 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.7% C 0.083 H 117.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#545D22
RGBrgb(84, 93, 34)
HSLhsl(69, 46%, 25%)
HSVhsv(69, 63%, 36%)
CMYKcmyk(9.7%, 0%, 63.4%, 63.5%)
CIE-LABlab(37.53, -12.92, 31.92)
CIE-LCHlch(37.53, 34.43, 112.03°)
OKLaboklab(45.7% -0.0377 0.0736)
OKLCHoklch(45.7% 0.083 117.1)
XYZxyz(7.8594, 9.8291, 2.9962)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D22 #2B225D
analogous
#5D4922 #545D22 #365D22
triadic
#545D22 #22545D #5D2254
tetradic
#545D22 #225D49 #2B225D #5D2236
square
#545D22 #225D49 #2B225D #5D2236
split-complementary
#545D22 #22365D #49225D
monochromatic
#141608 #2C3012 #545D22 #7C8A32 #A5B743

Accessibility & contrast

On white

7.08
#545D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#545D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D22
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D22#FFFFFF#000000##FFFFFF
##545D221.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581B
Deuteranopia (green-blind)
#625926
Tritanopia (blue-blind)
#595850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d22;
/* rgb */ color: rgb(84, 93, 34);
/* oklch */ color: oklch(45.7% 0.083 117.1);
Tailwind
colors: {
  custom: {
    50: '#868a60',
    500: '#545d22',
    950: '#000000',
  },
}
SCSS
$custom: #545d22;
$custom-light: #868a60;
$custom-dark: #000000;
JSON
{
  "hex": "#545d22",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 69.153,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.08272,
    "h": 117.1
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#545D22
secondary
#554A91
accent
#52D666
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545D22

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

Preview Lab → · Contrast checker → · Palette generator →

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