#545215#545215

#545215 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.080 H 107.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#545215
RGBrgb(84, 82, 21)
HSLhsl(58, 60%, 21%)
HSVhsv(58, 75%, 33%)
CMYKcmyk(0%, 2.4%, 75%, 67.1%)
CIE-LABlab(33.93, -7.55, 34.30)
CIE-LCHlch(33.93, 35.12, 102.41°)
OKLaboklab(42.78% -0.0241 0.0765)
OKLCHoklch(42.78% 0.08 107.5)
XYZxyz(6.8091, 7.9738, 1.8897)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545215 #151754
analogous
#543215 #545215 #365415
triadic
#545215 #155452 #521554
tetradic
#545215 #155432 #151754 #541536
square
#545215 #155432 #151754 #541536
split-complementary
#545215 #153654 #321554
monochromatic
#181806 #232209 #545215 #858221 #B6B22D

Accessibility & contrast

On white

8.09
#545215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#545215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545215
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545215#FFFFFF#000000##FFFFFF
##5452151.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0B
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#5B4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #545215;
/* rgb */ color: rgb(84, 82, 21);
/* oklch */ color: oklch(42.8% 0.080 107.5);
Tailwind
colors: {
  custom: {
    50: '#868257',
    500: '#545215',
    950: '#000000',
  },
}
SCSS
$custom: #545215;
$custom-light: #868257;
$custom-dark: #000000;
JSON
{
  "hex": "#545215",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 58.095,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.08021,
    "h": 107.5
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#545215
secondary
#393C8C
accent
#4AE345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545215

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

Preview Lab → · Contrast checker → · Palette generator →

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