#54571F#54571F

#54571F is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.1% C 0.078 H 112.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#54571F
RGBrgb(84, 87, 31)
HSLhsl(63, 47%, 23%)
HSVhsv(63, 64%, 34%)
CMYKcmyk(3.4%, 0%, 64.4%, 65.9%)
CIE-LABlab(35.60, -9.75, 31.30)
CIE-LCHlch(35.60, 32.78, 107.30°)
OKLaboklab(44.14% -0.0291 0.0719)
OKLCHoklch(44.14% 0.078 112)
XYZxyz(7.3119, 8.8003, 2.6095)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54571F #221F57
analogous
#573E1F #54571F #38571F
triadic
#54571F #1F5457 #571F54
tetradic
#54571F #1F573E #221F57 #571F38
square
#54571F #1F573E #221F57 #571F38
split-complementary
#54571F #1F3857 #3E1F57
monochromatic
#161708 #282A0F #54571F #80842F #ABB13F

Accessibility & contrast

On white

7.61
#54571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#54571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54571F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54571F#FFFFFF#000000##FFFFFF
##54571F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5319
Deuteranopia (green-blind)
#5E5422
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54571f;
/* rgb */ color: rgb(84, 87, 31);
/* oklch */ color: oklch(44.1% 0.078 112.0);
Tailwind
colors: {
  custom: {
    50: '#86865d',
    500: '#54571f',
    950: '#000000',
  },
}
SCSS
$custom: #54571f;
$custom-light: #86865d;
$custom-dark: #000000;
JSON
{
  "hex": "#54571f",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 63.214,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.07757,
    "h": 112
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#54571F
secondary
#4A468C
accent
#51D758
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54571F

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

Preview Lab → · Contrast checker → · Palette generator →

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