#54581E#54581E

#54581E is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.080 H 112.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#54581E
RGBrgb(84, 88, 30)
HSLhsl(64, 49%, 23%)
HSVhsv(64, 66%, 35%)
CMYKcmyk(4.5%, 0%, 65.9%, 65.5%)
CIE-LABlab(35.90, -10.41, 32.13)
CIE-LCHlch(35.90, 33.77, 107.95°)
OKLaboklab(44.39% -0.0311 0.0735)
OKLCHoklch(44.39% 0.08 112.9)
XYZxyz(7.3804, 8.9581, 2.5684)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54581E #221E58
analogous
#583F1E #54581E #37581E
triadic
#54581E #1E5458 #581E54
tetradic
#54581E #1E583F #221E58 #581E37
square
#54581E #1E583F #221E58 #581E37
split-complementary
#54581E #1E3758 #3F1E58
monochromatic
#161708 #282A0E #54581E #80862E #ABB33D

Accessibility & contrast

On white

7.52
#54581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#54581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54581E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54581E#FFFFFF#000000##FFFFFF
##54581E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5417
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#5A534C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54581e;
/* rgb */ color: rgb(84, 88, 30);
/* oklch */ color: oklch(44.4% 0.080 112.9);
Tailwind
colors: {
  custom: {
    50: '#86875d',
    500: '#54581e',
    950: '#000000',
  },
}
SCSS
$custom: #54581e;
$custom-light: #86875d;
$custom-dark: #000000;
JSON
{
  "hex": "#54581e",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 64.138,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.07981,
    "h": 112.9
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#54581E
secondary
#4A458D
accent
#4FD959
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54581E

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

Preview Lab → · Contrast checker → · Palette generator →

#54581E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva