#545115#545115

#545115 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.079 H 106.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#545115
RGBrgb(84, 81, 21)
HSLhsl(57, 60%, 21%)
HSVhsv(57, 75%, 33%)
CMYKcmyk(0%, 3.6%, 75%, 67.1%)
CIE-LABlab(33.61, -6.96, 33.99)
CIE-LCHlch(33.61, 34.69, 101.57°)
OKLaboklab(42.53% -0.0224 0.0758)
OKLCHoklch(42.53% 0.079 106.5)
XYZxyz(6.7342, 7.8241, 1.8648)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545115 #151854
analogous
#543115 #545115 #375415
triadic
#545115 #155451 #511554
tetradic
#545115 #155431 #151854 #541537
square
#545115 #155431 #151854 #541537
split-complementary
#545115 #153754 #311554
monochromatic
#181806 #232209 #545115 #858021 #B6AF2D

Accessibility & contrast

On white

8.19
#545115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#545115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545115
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545115#FFFFFF#000000##FFFFFF
##5451151.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0C
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#5B4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #545115;
/* rgb */ color: rgb(84, 81, 21);
/* oklch */ color: oklch(42.5% 0.079 106.5);
Tailwind
colors: {
  custom: {
    50: '#868157',
    500: '#545115',
    950: '#000000',
  },
}
SCSS
$custom: #545115;
$custom-light: #868157;
$custom-dark: #000000;
JSON
{
  "hex": "#545115",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 57.143,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.07909,
    "h": 106.5
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#545115
secondary
#393D8C
accent
#4CE345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545115

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

Preview Lab → · Contrast checker → · Palette generator →

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