#575117#575117

#575117 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.077 H 103.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#575117
RGBrgb(87, 81, 23)
HSLhsl(54, 58%, 22%)
HSVhsv(54, 74%, 34%)
CMYKcmyk(0%, 6.9%, 73.6%, 65.9%)
CIE-LABlab(33.93, -5.34, 33.49)
CIE-LCHlch(33.93, 33.92, 99.06°)
OKLaboklab(42.86% -0.0178 0.0751)
OKLCHoklch(42.86% 0.077 103.4)
XYZxyz(7.0279, 7.9732, 1.9792)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575117 #171D57
analogous
#573117 #575117 #3D5717
triadic
#575117 #175751 #511757
tetradic
#575117 #175731 #171D57 #57173D
square
#575117 #175731 #171D57 #57173D
split-complementary
#575117 #173D57 #311757
monochromatic
#181706 #27240A #575117 #877E24 #B8AB31

Accessibility & contrast

On white

8.09
#575117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#575117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575117
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575117#FFFFFF#000000##FFFFFF
##5751171.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0F
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#5E4B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #575117;
/* rgb */ color: rgb(87, 81, 23);
/* oklch */ color: oklch(42.9% 0.077 103.4);
Tailwind
colors: {
  custom: {
    50: '#898158',
    500: '#575117',
    950: '#000000',
  },
}
SCSS
$custom: #575117;
$custom-light: #898158;
$custom-dark: #000000;
JSON
{
  "hex": "#575117",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 54.375,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.07717,
    "h": 103.4
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#575117
secondary
#3C448E
accent
#55E146
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #575117

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

Preview Lab → · Contrast checker → · Palette generator →

#575117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva