#545A1A#545A1A

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

Color values

HEX#545A1A
RGBrgb(84, 90, 26)
HSLhsl(66, 55%, 23%)
HSVhsv(66, 71%, 35%)
CMYKcmyk(6.7%, 0%, 71.1%, 64.7%)
CIE-LABlab(36.50, -11.85, 34.67)
CIE-LCHlch(36.50, 36.64, 108.88°)
OKLaboklab(44.85% -0.0356 0.0782)
OKLCHoklch(44.85% 0.086 114.5)
XYZxyz(7.4990, 9.2719, 2.3717)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A1A #201A5A
analogous
#5A401A #545A1A #345A1A
triadic
#545A1A #1A545A #5A1A54
tetradic
#545A1A #1A5A40 #201A5A #5A1A34
square
#545A1A #1A5A40 #201A5A #5A1A34
split-complementary
#545A1A #1A345A #401A5A
monochromatic
#161807 #282B0C #545A1A #808928 #ADB935

Accessibility & contrast

On white

7.36
#545A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#545A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A1A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A1A#FFFFFF#000000##FFFFFF
##545A1A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615511
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#5A544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a1a;
/* rgb */ color: rgb(84, 90, 26);
/* oklch */ color: oklch(44.9% 0.086 114.5);
Tailwind
colors: {
  custom: {
    50: '#86885b',
    500: '#545a1a',
    950: '#000000',
  },
}
SCSS
$custom: #545a1a;
$custom-light: #86885b;
$custom-dark: #000000;
JSON
{
  "hex": "#545a1a",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 26
  },
  "hsl": {
    "h": 65.625,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.08593,
    "h": 114.5
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#545A1A
secondary
#474090
accent
#49DF57
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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