#545C23#545C23

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

Color values

HEX#545C23
RGBrgb(84, 92, 35)
HSLhsl(68, 45%, 25%)
HSVhsv(68, 62%, 36%)
CMYKcmyk(8.7%, 0%, 62%, 63.9%)
CIE-LABlab(37.23, -12.27, 31.07)
CIE-LCHlch(37.23, 33.40, 111.54°)
OKLaboklab(45.46% -0.0357 0.072)
OKLCHoklch(45.46% 0.08 116.4)
XYZxyz(7.7868, 9.6606, 3.0442)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C23 #2B235C
analogous
#5C4823 #545C23 #385C23
triadic
#545C23 #23545C #5C2354
tetradic
#545C23 #235C48 #2B235C #5C2338
square
#545C23 #235C48 #2B235C #5C2338
split-complementary
#545C23 #23385C #48235C
monochromatic
#141608 #2C3012 #545C23 #7C8834 #A5B545

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545C23#FFFFFF#000000##FFFFFF
##545C231.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)
#62571D
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#595750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545c23;
/* rgb */ color: rgb(84, 92, 35);
/* oklch */ color: oklch(45.5% 0.080 116.4);
Tailwind
colors: {
  custom: {
    50: '#868a60',
    500: '#545c23',
    950: '#000000',
  },
}
SCSS
$custom: #545c23;
$custom-light: #868a60;
$custom-dark: #000000;
JSON
{
  "hex": "#545c23",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 35
  },
  "hsl": {
    "h": 68.421,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.08034,
    "h": 116.4
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#545C23
secondary
#554B90
accent
#53D565
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545C23

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

Preview Lab → · Contrast checker → · Palette generator →

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