#54460E#54460E

#54460E is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.074 H 94.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#54460E
RGBrgb(84, 70, 14)
HSLhsl(48, 71%, 19%)
HSVhsv(48, 83%, 33%)
CMYKcmyk(0%, 16.7%, 83.3%, 67.1%)
CIE-LABlab(30.15, -0.66, 33.64)
CIE-LCHlch(30.15, 33.65, 91.12°)
OKLaboklab(39.77% -0.0054 0.0736)
OKLCHoklch(39.77% 0.074 94.2)
XYZxyz(5.9259, 6.2972, 1.3187)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54460E #0E1C54
analogous
#54230E #54460E #3F540E
triadic
#54460E #0E5446 #460E54
tetradic
#54460E #0E5423 #0E1C54 #540E3F
square
#54460E #0E5423 #0E1C54 #540E3F
split-complementary
#54460E #0E3F54 #230E54
monochromatic
#1A1604 #201A05 #54460E #887217 #BD9D1F

Accessibility & contrast

On white

9.29
#54460E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#54460E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54460E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54460E#FFFFFF#000000##FFFFFF
##54460E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4504
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#5C403B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54460e;
/* rgb */ color: rgb(84, 70, 14);
/* oklch */ color: oklch(39.8% 0.074 94.2);
Tailwind
colors: {
  custom: {
    50: '#877951',
    500: '#54460e',
    950: '#000000',
  },
}
SCSS
$custom: #54460e;
$custom-light: #877951;
$custom-dark: #000000;
JSON
{
  "hex": "#54460e",
  "rgb": {
    "r": 84,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.07379,
    "h": 94.2
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#54460E
secondary
#2F428E
accent
#5EEE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #54460E

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

Preview Lab → · Contrast checker → · Palette generator →

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