#545D20#545D20

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

Color values

HEX#545D20
RGBrgb(84, 93, 32)
HSLhsl(69, 49%, 25%)
HSVhsv(69, 66%, 36%)
CMYKcmyk(9.7%, 0%, 65.6%, 63.5%)
CIE-LABlab(37.51, -13.09, 32.89)
CIE-LCHlch(37.51, 35.40, 111.70°)
OKLaboklab(45.68% -0.0384 0.0754)
OKLCHoklch(45.68% 0.085 117)
XYZxyz(7.8314, 9.8179, 2.8487)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D20 #29205D
analogous
#5D4820 #545D20 #365D20
triadic
#545D20 #20545D #5D2054
tetradic
#545D20 #205D48 #29205D #5D2036
square
#545D20 #205D48 #29205D #5D2036
split-complementary
#545D20 #20365D #48205D
monochromatic
#151708 #2B2F10 #545D20 #7D8B30 #A6B83F

Accessibility & contrast

On white

7.09
#545D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#545D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D20
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D20#FFFFFF#000000##FFFFFF
##545D201.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635819
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#595850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d20;
/* rgb */ color: rgb(84, 93, 32);
/* oklch */ color: oklch(45.7% 0.085 117.0);
Tailwind
colors: {
  custom: {
    50: '#868a5e',
    500: '#545d20',
    950: '#000000',
  },
}
SCSS
$custom: #545d20;
$custom-light: #868a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#545d20",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 32
  },
  "hsl": {
    "h": 68.852,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.08463,
    "h": 117
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#545D20
secondary
#524791
accent
#4FD864
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D20

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

Preview Lab → · Contrast checker → · Palette generator →

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