#54531D#54531D

#54531D is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.074 H 108.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#54531D
RGBrgb(84, 83, 29)
HSLhsl(59, 49%, 22%)
HSVhsv(59, 65%, 33%)
CMYKcmyk(0%, 1.2%, 65.5%, 67.1%)
CIE-LABlab(34.31, -7.57, 30.91)
CIE-LCHlch(34.31, 31.82, 103.77°)
OKLaboklab(43.11% -0.0232 0.0708)
OKLCHoklch(43.11% 0.074 108.2)
XYZxyz(6.9714, 8.1602, 2.3700)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54531D #1D1E54
analogous
#54381D #54531D #3A541D
triadic
#54531D #1D5453 #531D54
tetradic
#54531D #1D5438 #1D1E54 #541D3A
square
#54531D #1D5438 #1D1E54 #541D3A
split-complementary
#54531D #1D3A54 #381D54
monochromatic
#171608 #27260D #54531D #81802D #AFAD3C

Accessibility & contrast

On white

7.98
#54531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#54531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54531D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54531D#FFFFFF#000000##FFFFFF
##54531D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5017
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#5A4E48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54531d;
/* rgb */ color: rgb(84, 83, 29);
/* oklch */ color: oklch(43.1% 0.074 108.2);
Tailwind
colors: {
  custom: {
    50: '#86835c',
    500: '#54531d',
    950: '#000000',
  },
}
SCSS
$custom: #54531d;
$custom-light: #86835c;
$custom-dark: #000000;
JSON
{
  "hex": "#54531d",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 58.909,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.07447,
    "h": 108.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#54531D
secondary
#444589
accent
#52D850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54531D

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

Preview Lab → · Contrast checker → · Palette generator →

#54531D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva