#545D17#545D17

#545D17 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.6% C 0.092 H 116.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#545D17
RGBrgb(84, 93, 23)
HSLhsl(68, 60%, 23%)
HSVhsv(68, 75%, 36%)
CMYKcmyk(9.7%, 0%, 75.3%, 63.5%)
CIE-LABlab(37.44, -13.74, 36.92)
CIE-LCHlch(37.44, 39.40, 110.42°)
OKLaboklab(45.6% -0.0412 0.0824)
OKLCHoklch(45.6% 0.092 116.6)
XYZxyz(7.7253, 9.7755, 2.2903)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D17 #20175D
analogous
#5D4317 #545D17 #315D17
triadic
#545D17 #17545D #5D1754
tetradic
#545D17 #175D43 #20175D #5D1731
square
#545D17 #175D43 #20175D #5D1731
split-complementary
#545D17 #17315D #43175D
monochromatic
#161906 #282C0B #545D17 #808E23 #ADBF2F

Accessibility & contrast

On white

7.11
#545D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#545D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D17
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D17#FFFFFF#000000##FFFFFF
##545D171.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d17;
/* rgb */ color: rgb(84, 93, 23);
/* oklch */ color: oklch(45.6% 0.092 116.6);
Tailwind
colors: {
  custom: {
    50: '#868a59',
    500: '#545d17',
    950: '#000000',
  },
}
SCSS
$custom: #545d17;
$custom-light: #868a59;
$custom-dark: #000000;
JSON
{
  "hex": "#545d17",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 67.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.09213,
    "h": 116.6
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#545D17
secondary
#473C94
accent
#44E359
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D17

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

Preview Lab → · Contrast checker → · Palette generator →

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