#545C17#545C17

#545C17 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.091 H 115.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#545C17
RGBrgb(84, 92, 23)
HSLhsl(67, 60%, 23%)
HSVhsv(67, 75%, 36%)
CMYKcmyk(8.7%, 0%, 75%, 63.9%)
CIE-LABlab(37.12, -13.18, 36.61)
CIE-LCHlch(37.12, 38.91, 109.81°)
OKLaboklab(45.34% -0.0396 0.0817)
OKLCHoklch(45.34% 0.091 115.9)
XYZxyz(7.6381, 9.6011, 2.2613)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C17 #1F175C
analogous
#5C4217 #545C17 #315C17
triadic
#545C17 #17545C #5C1754
tetradic
#545C17 #175C42 #1F175C #5C1731
square
#545C17 #175C42 #1F175C #5C1731
split-complementary
#545C17 #17315C #42175C
monochromatic
#161806 #272B0B #545C17 #818D23 #ADBE2F

Accessibility & contrast

On white

7.19
#545C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C17
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C17#FFFFFF#000000##FFFFFF
##545C171.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c17;
/* rgb */ color: rgb(84, 92, 23);
/* oklch */ color: oklch(45.3% 0.091 115.9);
Tailwind
colors: {
  custom: {
    50: '#868a59',
    500: '#545c17',
    950: '#000000',
  },
}
SCSS
$custom: #545c17;
$custom-light: #868a59;
$custom-dark: #000000;
JSON
{
  "hex": "#545c17",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 66.957,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.09085,
    "h": 115.9
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#545C17
secondary
#463C93
accent
#45E357
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C17

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

Preview Lab → · Contrast checker → · Palette generator →

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