#54540E#54540E

#54540E is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.087 H 109.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#54540E
RGBrgb(84, 84, 14)
HSLhsl(60, 71%, 19%)
HSVhsv(60, 83%, 33%)
CMYKcmyk(0%, 0%, 83.3%, 67.1%)
CIE-LABlab(34.51, -9.09, 37.65)
CIE-LCHlch(34.51, 38.73, 103.57°)
OKLaboklab(43.23% -0.0292 0.0821)
OKLCHoklch(43.23% 0.087 109.6)
XYZxyz(6.9060, 8.2574, 1.6454)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54540E #0E0E54
analogous
#54310E #54540E #31540E
triadic
#54540E #0E5454 #540E54
tetradic
#54540E #0E5431 #0E0E54 #540E31
square
#54540E #0E5431 #0E0E54 #540E31
split-complementary
#54540E #0E3154 #310E54
monochromatic
#1A1A04 #202005 #54540E #888817 #BDBD1F

Accessibility & contrast

On white

7.92
#54540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#54540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54540E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54540E#FFFFFF#000000##FFFFFF
##54540E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5000
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#5B4E47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54540e;
/* rgb */ color: rgb(84, 84, 14);
/* oklch */ color: oklch(43.2% 0.087 109.6);
Tailwind
colors: {
  custom: {
    50: '#878354',
    500: '#54540e',
    950: '#000000',
  },
}
SCSS
$custom: #54540e;
$custom-light: #878354;
$custom-dark: #000000;
JSON
{
  "hex": "#54540e",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 60,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.08717,
    "h": 109.6
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#54540E
secondary
#2F2F8E
accent
#3AEE3A
background
#F8F8F5
surface
#F0EFE8
border
#CBCAC4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #54540E

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

Preview Lab → · Contrast checker → · Palette generator →

#54540E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva