#545C24#545C24

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

Color values

HEX#545C24
RGBrgb(84, 92, 36)
HSLhsl(69, 44%, 25%)
HSVhsv(69, 61%, 36%)
CMYKcmyk(8.7%, 0%, 60.9%, 63.9%)
CIE-LABlab(37.24, -12.17, 30.56)
CIE-LCHlch(37.24, 32.90, 111.72°)
OKLaboklab(45.47% -0.0353 0.071)
OKLCHoklch(45.47% 0.079 116.5)
XYZxyz(7.8019, 9.6666, 3.1236)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C24 #2C245C
analogous
#5C4824 #545C24 #385C24
triadic
#545C24 #24545C #5C2454
tetradic
#545C24 #245C48 #2C245C #5C2438
square
#545C24 #245C48 #2C245C #5C2438
split-complementary
#545C24 #24385C #48245C
monochromatic
#141609 #2C3013 #545C24 #7C8835 #A4B446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545C24#FFFFFF#000000##FFFFFF
##545C241.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)
#62571E
Deuteranopia (green-blind)
#615827
Tritanopia (blue-blind)
#595750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545c24;
/* rgb */ color: rgb(84, 92, 36);
/* oklch */ color: oklch(45.5% 0.079 116.5);
Tailwind
colors: {
  custom: {
    50: '#868a61',
    500: '#545c24',
    950: '#000000',
  },
}
SCSS
$custom: #545c24;
$custom-light: #868a61;
$custom-dark: #000000;
JSON
{
  "hex": "#545c24",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 36
  },
  "hsl": {
    "h": 68.571,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.07934,
    "h": 116.5
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#545C24
secondary
#564C90
accent
#54D366
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545C24

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

Preview Lab → · Contrast checker → · Palette generator →

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