#54460F#54460F

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

Color values

HEX#54460F
RGBrgb(84, 70, 15)
HSLhsl(48, 70%, 19%)
HSVhsv(48, 82%, 33%)
CMYKcmyk(0%, 16.7%, 82.1%, 67.1%)
CIE-LABlab(30.16, -0.61, 33.23)
CIE-LCHlch(30.16, 33.23, 91.05°)
OKLaboklab(39.77% -0.0052 0.073)
OKLCHoklch(39.77% 0.073 94.1)
XYZxyz(5.9329, 6.3000, 1.3554)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54460F #0F1D54
analogous
#54240F #54460F #40540F
triadic
#54460F #0F5446 #460F54
tetradic
#54460F #0F5424 #0F1D54 #540F40
square
#54460F #0F5424 #0F1D54 #540F40
split-complementary
#54460F #0F4054 #240F54
monochromatic
#1A1605 #201B06 #54460F #887118 #BC9D22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54460F#FFFFFF#000000##FFFFFF
##54460F1.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)
#4E4506
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#5B403B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54460f;
/* rgb */ color: rgb(84, 70, 15);
/* oklch */ color: oklch(39.8% 0.073 94.1);
Tailwind
colors: {
  custom: {
    50: '#877952',
    500: '#54460f',
    950: '#000000',
  },
}
SCSS
$custom: #54460f;
$custom-light: #877952;
$custom-dark: #000000;
JSON
{
  "hex": "#54460f",
  "rgb": {
    "r": 84,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 47.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.07314,
    "h": 94.1
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#54460F
secondary
#31448E
accent
#5FED3B
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #54460F

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

Preview Lab → · Contrast checker → · Palette generator →

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