#545D19#545D19

#545D19 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#545D19
RGBrgb(84, 93, 25)
HSLhsl(68, 58%, 23%)
HSVhsv(68, 73%, 36%)
CMYKcmyk(9.7%, 0%, 73.1%, 63.5%)
CIE-LABlab(37.45, -13.61, 36.08)
CIE-LCHlch(37.45, 38.57, 110.67°)
OKLaboklab(45.61% -0.0406 0.081)
OKLCHoklch(45.61% 0.091 116.6)
XYZxyz(7.7462, 9.7838, 2.3999)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D19 #22195D
analogous
#5D4419 #545D19 #325D19
triadic
#545D19 #19545D #5D1954
tetradic
#545D19 #195D44 #22195D #5D1932
square
#545D19 #195D44 #22195D #5D1932
split-complementary
#545D19 #19325D #44195D
monochromatic
#161806 #282D0C #545D19 #808D26 #ABBD33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545D19#FFFFFF#000000##FFFFFF
##545D191.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)
#64580F
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d19;
/* rgb */ color: rgb(84, 93, 25);
/* oklch */ color: oklch(45.6% 0.091 116.6);
Tailwind
colors: {
  custom: {
    50: '#868a5a',
    500: '#545d19',
    950: '#000000',
  },
}
SCSS
$custom: #545d19;
$custom-light: #868a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#545d19",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 67.941,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.09062,
    "h": 116.6
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#545D19
secondary
#4A3F93
accent
#47E15B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D19

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

Preview Lab → · Contrast checker → · Palette generator →

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