#545B24#545B24

#545B24 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.2% C 0.078 H 115.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#545B24
RGBrgb(84, 91, 36)
HSLhsl(68, 43%, 25%)
HSVhsv(68, 60%, 36%)
CMYKcmyk(7.7%, 0%, 60.4%, 64.3%)
CIE-LABlab(36.92, -11.60, 30.20)
CIE-LCHlch(36.92, 32.36, 111.02°)
OKLaboklab(45.22% -0.0337 0.0703)
OKLCHoklch(45.22% 0.078 115.7)
XYZxyz(7.7158, 9.4945, 3.0949)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B24 #2B245B
analogous
#5B4624 #545B24 #395B24
triadic
#545B24 #24545B #5B2454
tetradic
#545B24 #245B46 #2B245B #5B2439
square
#545B24 #245B46 #2B245B #5B2439
split-complementary
#545B24 #24395B #46245B
monochromatic
#141609 #2C2F13 #545B24 #7C8735 #A5B347

Accessibility & contrast

On white

7.24
#545B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#545B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B24
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B24#FFFFFF#000000##FFFFFF
##545B241.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561E
Deuteranopia (green-blind)
#615727
Tritanopia (blue-blind)
#59564F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b24;
/* rgb */ color: rgb(84, 91, 36);
/* oklch */ color: oklch(45.2% 0.078 115.7);
Tailwind
colors: {
  custom: {
    50: '#868961',
    500: '#545b24',
    950: '#000000',
  },
}
SCSS
$custom: #545b24;
$custom-light: #868961;
$custom-dark: #000000;
JSON
{
  "hex": "#545b24",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 36
  },
  "hsl": {
    "h": 67.636,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.07794,
    "h": 115.7
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#545B24
secondary
#554C8F
accent
#55D365
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545B24

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

Preview Lab → · Contrast checker → · Palette generator →

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