#545D18#545D18

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

Color values

HEX#545D18
RGBrgb(84, 93, 24)
HSLhsl(68, 59%, 23%)
HSVhsv(68, 74%, 36%)
CMYKcmyk(9.7%, 0%, 74.2%, 63.5%)
CIE-LABlab(37.44, -13.68, 36.51)
CIE-LCHlch(37.44, 38.99, 110.54°)
OKLaboklab(45.6% -0.0409 0.0817)
OKLCHoklch(45.6% 0.091 116.6)
XYZxyz(7.7356, 9.7796, 2.3441)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D18 #21185D
analogous
#5D4318 #545D18 #315D18
triadic
#545D18 #18545D #5D1854
tetradic
#545D18 #185D43 #21185D #5D1831
square
#545D18 #185D43 #21185D #5D1831
split-complementary
#545D18 #18315D #43185D
monochromatic
#161806 #282C0B #545D18 #808E25 #ACBE31

Accessibility & contrast

On white

7.10
#545D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#545D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D18
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D18#FFFFFF#000000##FFFFFF
##545D181.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545d18;
/* rgb */ color: rgb(84, 93, 24);
/* oklch */ color: oklch(45.6% 0.091 116.6);
Tailwind
colors: {
  custom: {
    50: '#868a5a',
    500: '#545d18',
    950: '#000000',
  },
}
SCSS
$custom: #545d18;
$custom-light: #868a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#545d18",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 67.826,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.09139,
    "h": 116.6
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#545D18
secondary
#493D93
accent
#46E25A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D18

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

Preview Lab → · Contrast checker → · Palette generator →

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