#545815#545815

#545815 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.087 H 112.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#545815
RGBrgb(84, 88, 21)
HSLhsl(64, 61%, 21%)
HSVhsv(64, 76%, 35%)
CMYKcmyk(4.5%, 0%, 76.1%, 65.5%)
CIE-LABlab(35.83, -11.04, 36.18)
CIE-LCHlch(35.83, 37.82, 106.97°)
OKLaboklab(44.3% -0.0339 0.0804)
OKLCHoklch(44.3% 0.087 112.8)
XYZxyz(7.2815, 8.9186, 2.0472)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545815 #191558
analogous
#583B15 #545815 #335815
triadic
#545815 #155458 #581554
tetradic
#545815 #15583B #191558 #581533
square
#545815 #15583B #191558 #581533
split-complementary
#545815 #153358 #3B1558
monochromatic
#181906 #252709 #545815 #838921 #B2BB2D

Accessibility & contrast

On white

7.54
#545815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#545815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545815
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545815#FFFFFF#000000##FFFFFF
##5458151.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #545815;
/* rgb */ color: rgb(84, 88, 21);
/* oklch */ color: oklch(44.3% 0.087 112.8);
Tailwind
colors: {
  custom: {
    50: '#868758',
    500: '#545815',
    950: '#000000',
  },
}
SCSS
$custom: #545815;
$custom-light: #868758;
$custom-dark: #000000;
JSON
{
  "hex": "#545815",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 63.582,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.08729,
    "h": 112.8
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#545815
secondary
#3E3990
accent
#43E54D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545815

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

Preview Lab → · Contrast checker → · Palette generator →

#545815 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva