#545315#545315

#545315 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.081 H 108.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#545315
RGBrgb(84, 83, 21)
HSLhsl(59, 60%, 21%)
HSVhsv(59, 75%, 33%)
CMYKcmyk(0%, 1.2%, 75%, 67.1%)
CIE-LABlab(34.24, -8.14, 34.61)
CIE-LCHlch(34.24, 35.56, 103.23°)
OKLaboklab(43.03% -0.0258 0.0772)
OKLCHoklch(43.03% 0.081 108.5)
XYZxyz(6.8850, 8.1257, 1.9151)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545315 #151654
analogous
#543315 #545315 #355415
triadic
#545315 #155453 #531554
tetradic
#545315 #155433 #151654 #541535
square
#545315 #155433 #151654 #541535
split-complementary
#545315 #153554 #331554
monochromatic
#181806 #232309 #545315 #858321 #B6B42D

Accessibility & contrast

On white

8.00
#545315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#545315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545315
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545315#FFFFFF#000000##FFFFFF
##5453151.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#5A4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545315;
/* rgb */ color: rgb(84, 83, 21);
/* oklch */ color: oklch(43.0% 0.081 108.5);
Tailwind
colors: {
  custom: {
    50: '#868357',
    500: '#545315',
    950: '#000000',
  },
}
SCSS
$custom: #545315;
$custom-light: #868357;
$custom-dark: #000000;
JSON
{
  "hex": "#545315",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 59.048,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.08135,
    "h": 108.5
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#545315
secondary
#393A8C
accent
#47E345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545315

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

Preview Lab → · Contrast checker → · Palette generator →

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