#54590F#54590F

#54590F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.5% C 0.092 H 113.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#54590F
RGBrgb(84, 89, 15)
HSLhsl(64, 71%, 20%)
HSVhsv(64, 83%, 35%)
CMYKcmyk(5.6%, 0%, 83.1%, 65.1%)
CIE-LABlab(36.11, -11.92, 38.74)
CIE-LCHlch(36.11, 40.53, 107.10°)
OKLaboklab(44.51% -0.0369 0.0847)
OKLCHoklch(44.51% 0.092 113.6)
XYZxyz(7.3150, 9.0642, 1.8161)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54590F #140F59
analogous
#59390F #54590F #2F590F
triadic
#54590F #0F5459 #590F54
tetradic
#54590F #0F5939 #140F59 #590F2F
square
#54590F #0F5939 #140F59 #590F2F
split-complementary
#54590F #0F2F59 #390F59
monochromatic
#191A04 #232506 #54590F #858D18 #B7C221

Accessibility & contrast

On white

7.47
#54590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#54590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54590F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54590F#FFFFFF#000000##FFFFFF
##54590F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#605616
Tritanopia (blue-blind)
#5A534B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54590f;
/* rgb */ color: rgb(84, 89, 15);
/* oklch */ color: oklch(44.5% 0.092 113.6);
Tailwind
colors: {
  custom: {
    50: '#878755',
    500: '#54590f',
    950: '#000000',
  },
}
SCSS
$custom: #54590f;
$custom-light: #878755;
$custom-dark: #000000;
JSON
{
  "hex": "#54590f",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 64.054,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.09239,
    "h": 113.6
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#54590F
secondary
#383193
accent
#3AEE46
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #54590F

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

Preview Lab → · Contrast checker → · Palette generator →

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