#54591F#54591F

#54591F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.080 H 113.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#54591F
RGBrgb(84, 89, 31)
HSLhsl(65, 48%, 24%)
HSVhsv(65, 65%, 35%)
CMYKcmyk(5.6%, 0%, 65.2%, 65.1%)
CIE-LABlab(36.23, -10.90, 31.99)
CIE-LCHlch(36.23, 33.80, 108.82°)
OKLaboklab(44.65% -0.0323 0.0734)
OKLCHoklch(44.65% 0.08 113.8)
XYZxyz(7.4760, 9.1286, 2.6642)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54591F #241F59
analogous
#59411F #54591F #37591F
triadic
#54591F #1F5459 #591F54
tetradic
#54591F #1F5941 #241F59 #591F37
square
#54591F #1F5941 #241F59 #591F37
split-complementary
#54591F #1F3759 #411F59
monochromatic
#151708 #292C0F #54591F #7F862F #AAB43F

Accessibility & contrast

On white

7.43
#54591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#54591F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54591F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54591F#FFFFFF#000000##FFFFFF
##54591F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#5A544D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54591f;
/* rgb */ color: rgb(84, 89, 31);
/* oklch */ color: oklch(44.6% 0.080 113.8);
Tailwind
colors: {
  custom: {
    50: '#86875d',
    500: '#54591f',
    950: '#000000',
  },
}
SCSS
$custom: #54591f;
$custom-light: #86875d;
$custom-dark: #000000;
JSON
{
  "hex": "#54591f",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 65.172,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.08019,
    "h": 113.8
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#54591F
secondary
#4C468E
accent
#50D85C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54591F

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

Preview Lab → · Contrast checker → · Palette generator →

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