#545515#545515

#545515 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.084 H 110.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#545515
RGBrgb(84, 85, 21)
HSLhsl(61, 60%, 21%)
HSVhsv(61, 75%, 33%)
CMYKcmyk(1.2%, 0%, 75.3%, 66.7%)
CIE-LABlab(34.88, -9.31, 35.24)
CIE-LCHlch(34.88, 36.45, 104.79°)
OKLaboklab(43.54% -0.029 0.0785)
OKLCHoklch(43.54% 0.084 110.3)
XYZxyz(7.0402, 8.4362, 1.9668)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545515 #161555
analogous
#553615 #545515 #345515
triadic
#545515 #155455 #551554
tetradic
#545515 #155536 #161555 #551534
square
#545515 #155536 #161555 #551534
split-complementary
#545515 #153455 #361555
monochromatic
#181906 #242409 #545515 #848621 #B5B72D

Accessibility & contrast

On white

7.81
#545515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#545515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545515
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545515#FFFFFF#000000##FFFFFF
##5455151.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#5A4F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545515;
/* rgb */ color: rgb(84, 85, 21);
/* oklch */ color: oklch(43.5% 0.084 110.3);
Tailwind
colors: {
  custom: {
    50: '#868457',
    500: '#545515',
    950: '#000000',
  },
}
SCSS
$custom: #545515;
$custom-light: #868457;
$custom-dark: #000000;
JSON
{
  "hex": "#545515",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 60.938,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.08368,
    "h": 110.3
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#545515
secondary
#3A398D
accent
#44E447
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545515

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

Preview Lab → · Contrast checker → · Palette generator →

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