#545015#545015

#545015 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.078 H 105.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#545015
RGBrgb(84, 80, 21)
HSLhsl(56, 60%, 21%)
HSVhsv(56, 75%, 33%)
CMYKcmyk(0%, 4.8%, 75%, 67.1%)
CIE-LABlab(33.30, -6.36, 33.67)
CIE-LCHlch(33.30, 34.27, 100.70°)
OKLaboklab(42.28% -0.0208 0.0752)
OKLCHoklch(42.28% 0.078 105.4)
XYZxyz(6.6604, 7.6765, 1.8402)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545015 #151954
analogous
#543015 #545015 #385415
triadic
#545015 #155450 #501554
tetradic
#545015 #155430 #151954 #541538
square
#545015 #155430 #151954 #541538
split-complementary
#545015 #153854 #301554
monochromatic
#181706 #232109 #545015 #857F21 #B6AD2D

Accessibility & contrast

On white

8.28
#545015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#545015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545015
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545015#FFFFFF#000000##FFFFFF
##5450151.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0C
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#5B4A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #545015;
/* rgb */ color: rgb(84, 80, 21);
/* oklch */ color: oklch(42.3% 0.078 105.4);
Tailwind
colors: {
  custom: {
    50: '#868057',
    500: '#545015',
    950: '#000000',
  },
}
SCSS
$custom: #545015;
$custom-light: #868057;
$custom-dark: #000000;
JSON
{
  "hex": "#545015",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 56.19,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.078,
    "h": 105.4
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#545015
secondary
#393E8C
accent
#4FE345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #545015

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

Preview Lab → · Contrast checker → · Palette generator →

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