#545A1E#545A1E

#545A1E is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.082 H 114.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#545A1E
RGBrgb(84, 90, 30)
HSLhsl(66, 50%, 24%)
HSVhsv(66, 67%, 35%)
CMYKcmyk(6.7%, 0%, 66.7%, 64.7%)
CIE-LABlab(36.54, -11.56, 32.82)
CIE-LCHlch(36.54, 34.79, 109.40°)
OKLaboklab(44.89% -0.0343 0.075)
OKLCHoklch(44.89% 0.082 114.6)
XYZxyz(7.5468, 9.2910, 2.6238)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A1E #241E5A
analogous
#5A421E #545A1E #365A1E
triadic
#545A1E #1E545A #5A1E54
tetradic
#545A1E #1E5A42 #241E5A #5A1E36
square
#545A1E #1E5A42 #241E5A #5A1E36
split-complementary
#545A1E #1E365A #421E5A
monochromatic
#151708 #292C0F #545A1E #7F882D #AAB63D

Accessibility & contrast

On white

7.35
#545A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#545A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A1E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A1E#FFFFFF#000000##FFFFFF
##545A1E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615517
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a1e;
/* rgb */ color: rgb(84, 90, 30);
/* oklch */ color: oklch(44.9% 0.082 114.6);
Tailwind
colors: {
  custom: {
    50: '#86885d',
    500: '#545a1e',
    950: '#000000',
  },
}
SCSS
$custom: #545a1e;
$custom-light: #86885d;
$custom-dark: #000000;
JSON
{
  "hex": "#545a1e",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 30
  },
  "hsl": {
    "h": 66,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.08243,
    "h": 114.6
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#545A1E
secondary
#4C458F
accent
#4EDA5C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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