#54490F#54490F

#54490F is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.076 H 98.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#54490F
RGBrgb(84, 73, 15)
HSLhsl(50, 70%, 19%)
HSVhsv(50, 82%, 33%)
CMYKcmyk(0%, 13.1%, 82.1%, 67.1%)
CIE-LABlab(31.08, -2.46, 34.10)
CIE-LCHlch(31.08, 34.19, 94.13°)
OKLaboklab(40.5% -0.0104 0.0748)
OKLCHoklch(40.5% 0.076 98)
XYZxyz(6.1252, 6.6847, 1.4195)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54490F #0F1A54
analogous
#54270F #54490F #3D540F
triadic
#54490F #0F5449 #490F54
tetradic
#54490F #0F5427 #0F1A54 #540F3D
square
#54490F #0F5427 #0F1A54 #540F3D
split-complementary
#54490F #0F3D54 #270F54
monochromatic
#1A1705 #201C06 #54490F #887618 #BCA322

Accessibility & contrast

On white

8.99
#54490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#54490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54490F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54490F#FFFFFF#000000##FFFFFF
##54490F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#5B433E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #54490f;
/* rgb */ color: rgb(84, 73, 15);
/* oklch */ color: oklch(40.5% 0.076 98.0);
Tailwind
colors: {
  custom: {
    50: '#877b52',
    500: '#54490f',
    950: '#000000',
  },
}
SCSS
$custom: #54490f;
$custom-light: #877b52;
$custom-dark: #000000;
JSON
{
  "hex": "#54490f",
  "rgb": {
    "r": 84,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 50.435,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.07553,
    "h": 98
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#54490F
secondary
#31408E
accent
#58ED3B
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #54490F

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

Preview Lab → · Contrast checker → · Palette generator →

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