#545A24#545A24

#545A24 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.077 H 114.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#545A24
RGBrgb(84, 90, 36)
HSLhsl(67, 43%, 25%)
HSVhsv(67, 60%, 35%)
CMYKcmyk(6.7%, 0%, 60%, 64.7%)
CIE-LABlab(36.60, -11.03, 29.84)
CIE-LCHlch(36.60, 31.82, 110.29°)
OKLaboklab(44.97% -0.0321 0.0695)
OKLCHoklch(44.97% 0.077 114.8)
XYZxyz(7.6309, 9.3246, 3.0666)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A24 #2A245A
analogous
#5A4524 #545A24 #395A24
triadic
#545A24 #24545A #5A2454
tetradic
#545A24 #245A45 #2A245A #5A2439
square
#545A24 #245A45 #2A245A #5A2439
split-complementary
#545A24 #24395A #45245A
monochromatic
#141609 #2B2E13 #545A24 #7D8635 #A6B147

Accessibility & contrast

On white

7.33
#545A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#545A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A24
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A24#FFFFFF#000000##FFFFFF
##545A241.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545a24;
/* rgb */ color: rgb(84, 90, 36);
/* oklch */ color: oklch(45.0% 0.077 114.8);
Tailwind
colors: {
  custom: {
    50: '#868861',
    500: '#545a24',
    950: '#000000',
  },
}
SCSS
$custom: #545a24;
$custom-light: #868861;
$custom-dark: #000000;
JSON
{
  "hex": "#545a24",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 36
  },
  "hsl": {
    "h": 66.667,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.07655,
    "h": 114.8
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#545A24
secondary
#534C8E
accent
#55D363
background
#F8F8F5
surface
#EFEFEA
border
#CACAC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545A24

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

Preview Lab → · Contrast checker → · Palette generator →

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