#54450F#54450F

#54450F is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.072 H 92.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#54450F
RGBrgb(84, 69, 15)
HSLhsl(47, 70%, 19%)
HSVhsv(47, 82%, 33%)
CMYKcmyk(0%, 17.9%, 82.1%, 67.1%)
CIE-LABlab(29.85, 0.01, 32.94)
CIE-LCHlch(29.85, 32.94, 89.98°)
OKLaboklab(39.53% -0.0034 0.0723)
OKLCHoklch(39.53% 0.072 92.7)
XYZxyz(5.8708, 6.1759, 1.3347)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54450F #0F1E54
analogous
#54230F #54450F #41540F
triadic
#54450F #0F5445 #450F54
tetradic
#54450F #0F5423 #0F1E54 #540F41
square
#54450F #0F5423 #0F1E54 #540F41
split-complementary
#54450F #0F4154 #230F54
monochromatic
#1A1505 #201A06 #54450F #887018 #BC9A22

Accessibility & contrast

On white

9.40
#54450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#54450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54450F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54450F#FFFFFF#000000##FFFFFF
##54450F1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4406
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#5C3F3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #54450f;
/* rgb */ color: rgb(84, 69, 15);
/* oklch */ color: oklch(39.5% 0.072 92.7);
Tailwind
colors: {
  custom: {
    50: '#877852',
    500: '#54450f',
    950: '#000000',
  },
}
SCSS
$custom: #54450f;
$custom-light: #877852;
$custom-dark: #000000;
JSON
{
  "hex": "#54450f",
  "rgb": {
    "r": 84,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 46.957,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.07241,
    "h": 92.7
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#54450F
secondary
#31458E
accent
#62ED3B
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0802
muted
#7D7B78

Preview Lab

Preview with #54450F

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

Preview Lab → · Contrast checker → · Palette generator →

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