#545A15#545A15

#545A15 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.090 H 114.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#545A15
RGBrgb(84, 90, 21)
HSLhsl(65, 62%, 22%)
HSVhsv(65, 77%, 35%)
CMYKcmyk(6.7%, 0%, 76.7%, 64.7%)
CIE-LABlab(36.46, -12.18, 36.80)
CIE-LCHlch(36.46, 38.76, 108.31°)
OKLaboklab(44.81% -0.0371 0.0818)
OKLCHoklch(44.81% 0.09 114.4)
XYZxyz(7.4479, 9.2514, 2.1027)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A15 #1B155A
analogous
#5A3E15 #545A15 #325A15
triadic
#545A15 #15545A #5A1554
tetradic
#545A15 #155A3E #1B155A #5A1532
square
#545A15 #155A3E #1B155A #5A1532
split-complementary
#545A15 #15325A #3E155A
monochromatic
#171906 #262809 #545A15 #828C21 #B1BD2C

Accessibility & contrast

On white

7.37
#545A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545A15
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A15#FFFFFF#000000##FFFFFF
##545A151.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615509
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#5A544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a15;
/* rgb */ color: rgb(84, 90, 21);
/* oklch */ color: oklch(44.8% 0.090 114.4);
Tailwind
colors: {
  custom: {
    50: '#878858',
    500: '#545a15',
    950: '#000000',
  },
}
SCSS
$custom: #545a15;
$custom-light: #878858;
$custom-dark: #000000;
JSON
{
  "hex": "#545a15",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 65.217,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.08977,
    "h": 114.4
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#545A15
secondary
#413992
accent
#43E551
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545A15

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

Preview Lab → · Contrast checker → · Palette generator →

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