#54570C#54570C

#54570C is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.0% C 0.092 H 112.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#54570C
RGBrgb(84, 87, 12)
HSLhsl(62, 76%, 19%)
HSVhsv(62, 86%, 34%)
CMYKcmyk(3.4%, 0%, 86.2%, 65.9%)
CIE-LABlab(35.45, -10.91, 39.16)
CIE-LCHlch(35.45, 40.65, 105.56°)
OKLaboklab(43.98% -0.0344 0.085)
OKLCHoklch(43.98% 0.092 112)
XYZxyz(7.1310, 8.7279, 1.6568)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54570C #0F0C57
analogous
#57350C #54570C #2F570C
triadic
#54570C #0C5457 #570C54
tetradic
#54570C #0C5735 #0F0C57 #570C2F
square
#54570C #0C5735 #0F0C57 #570C2F
split-complementary
#54570C #0C2F57 #350C57
monochromatic
#1A1B04 #202105 #54570C #888D13 #BCC31B

Accessibility & contrast

On white

7.65
#54570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#54570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54570C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54570C#FFFFFF#000000##FFFFFF
##54570C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5300
Deuteranopia (green-blind)
#5F5413
Tritanopia (blue-blind)
#5A5149
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #54570c;
/* rgb */ color: rgb(84, 87, 12);
/* oklch */ color: oklch(44.0% 0.092 112.0);
Tailwind
colors: {
  custom: {
    50: '#878653',
    500: '#54570c',
    950: '#000000',
  },
}
SCSS
$custom: #54570c;
$custom-light: #878653;
$custom-dark: #000000;
JSON
{
  "hex": "#54570c",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 62.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.09165,
    "h": 112
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#54570C
secondary
#312D92
accent
#35F23D
background
#F8F8F5
surface
#F0EFE8
border
#CBCAC4
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #54570C

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

Preview Lab → · Contrast checker → · Palette generator →

#54570C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva