#54580F#54580F

#54580F is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.091 H 112.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#54580F
RGBrgb(84, 88, 15)
HSLhsl(63, 71%, 20%)
HSVhsv(63, 83%, 35%)
CMYKcmyk(4.5%, 0%, 83%, 65.5%)
CIE-LABlab(35.79, -11.35, 38.45)
CIE-LCHlch(35.79, 40.09, 106.45°)
OKLaboklab(44.26% -0.0354 0.0841)
OKLCHoklch(44.26% 0.091 112.8)
XYZxyz(7.2323, 8.8989, 1.7885)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54580F #130F58
analogous
#58380F #54580F #2F580F
triadic
#54580F #0F5458 #580F54
tetradic
#54580F #0F5838 #130F58 #580F2F
square
#54580F #0F5838 #130F58 #580F2F
split-complementary
#54580F #0F2F58 #380F58
monochromatic
#191A04 #222406 #54580F #868C18 #B8C121

Accessibility & contrast

On white

7.55
#54580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#54580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54580F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54580F#FFFFFF#000000##FFFFFF
##54580F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#5A524A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54580f;
/* rgb */ color: rgb(84, 88, 15);
/* oklch */ color: oklch(44.3% 0.091 112.8);
Tailwind
colors: {
  custom: {
    50: '#878755',
    500: '#54580f',
    950: '#000000',
  },
}
SCSS
$custom: #54580f;
$custom-light: #878755;
$custom-dark: #000000;
JSON
{
  "hex": "#54580f",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 63.288,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.09119,
    "h": 112.8
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#54580F
secondary
#363192
accent
#3AEE44
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #54580F

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

Preview Lab → · Contrast checker → · Palette generator →

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