#545A23#545A23

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

Color values

HEX#545A23
RGBrgb(84, 90, 35)
HSLhsl(67, 44%, 25%)
HSVhsv(67, 61%, 35%)
CMYKcmyk(6.7%, 0%, 61.1%, 64.7%)
CIE-LABlab(36.59, -11.13, 30.35)
CIE-LCHlch(36.59, 32.33, 110.13°)
OKLaboklab(44.95% -0.0325 0.0705)
OKLCHoklch(44.95% 0.078 114.8)
XYZxyz(7.6158, 9.3186, 2.9873)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A23 #29235A
analogous
#5A4523 #545A23 #395A23
triadic
#545A23 #23545A #5A2354
tetradic
#545A23 #235A45 #29235A #5A2339
square
#545A23 #235A45 #29235A #5A2339
split-complementary
#545A23 #23395A #45235A
monochromatic
#151609 #2B2E12 #545A23 #7D8634 #A6B245

Accessibility & contrast

On white

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

On black

2.86
#545A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##545A23#FFFFFF#000000##FFFFFF
##545A231.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545a23;
/* rgb */ color: rgb(84, 90, 35);
/* oklch */ color: oklch(45.0% 0.078 114.8);
Tailwind
colors: {
  custom: {
    50: '#868860',
    500: '#545a23',
    950: '#000000',
  },
}
SCSS
$custom: #545a23;
$custom-light: #868860;
$custom-dark: #000000;
JSON
{
  "hex": "#545a23",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 66.545,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.07759,
    "h": 114.8
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#545A23
secondary
#524B8E
accent
#54D462
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545A23

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

Preview Lab → · Contrast checker → · Palette generator →

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