#54501A#54501A

#54501A is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.074 H 105.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#54501A
RGBrgb(84, 80, 26)
HSLhsl(56, 53%, 22%)
HSVhsv(56, 69%, 33%)
CMYKcmyk(0%, 4.8%, 69%, 67.1%)
CIE-LABlab(33.34, -6.02, 31.36)
CIE-LCHlch(33.34, 31.94, 100.87°)
OKLaboklab(42.33% -0.0192 0.0712)
OKLCHoklch(42.33% 0.074 105.1)
XYZxyz(6.7115, 7.6970, 2.1092)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54501A #1A1E54
analogous
#54331A #54501A #3B541A
triadic
#54501A #1A5450 #501A54
tetradic
#54501A #1A5433 #1A1E54 #541A3B
square
#54501A #1A5433 #1A1E54 #541A3B
split-complementary
#54501A #1A3B54 #331A54
monochromatic
#171607 #25230C #54501A #837D28 #B1A937

Accessibility & contrast

On white

8.27
#54501A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#54501A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54501A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54501A#FFFFFF#000000##FFFFFF
##54501A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#5A4A45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #54501a;
/* rgb */ color: rgb(84, 80, 26);
/* oklch */ color: oklch(42.3% 0.074 105.1);
Tailwind
colors: {
  custom: {
    50: '#868059',
    500: '#54501a',
    950: '#000000',
  },
}
SCSS
$custom: #54501a;
$custom-light: #868059;
$custom-dark: #000000;
JSON
{
  "hex": "#54501a",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 55.862,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.07377,
    "h": 105.1
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#54501A
secondary
#40458A
accent
#56DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54501A

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

Preview Lab → · Contrast checker → · Palette generator →

#54501A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva