#57511C#57511C

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

Color values

HEX#57511C
RGBrgb(87, 81, 28)
HSLhsl(54, 51%, 23%)
HSVhsv(54, 68%, 34%)
CMYKcmyk(0%, 6.9%, 67.8%, 65.9%)
CIE-LABlab(33.97, -4.99, 31.13)
CIE-LCHlch(33.97, 31.53, 99.11°)
OKLaboklab(42.91% -0.0162 0.071)
OKLCHoklch(42.91% 0.073 102.9)
XYZxyz(7.0828, 7.9952, 2.2685)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57511C #1C2257
analogous
#57331C #57511C #40571C
triadic
#57511C #1C5751 #511C57
tetradic
#57511C #1C5733 #1C2257 #571C40
square
#57511C #1C5733 #1C2257 #571C40
split-complementary
#57511C #1C4057 #331C57
monochromatic
#171607 #29260D #57511C #857C2B #B4A73A

Accessibility & contrast

On white

8.08
#57511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#57511C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57511C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57511C#FFFFFF#000000##FFFFFF
##57511C1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E16
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#5E4B46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #57511c;
/* rgb */ color: rgb(87, 81, 28);
/* oklch */ color: oklch(42.9% 0.073 102.9);
Tailwind
colors: {
  custom: {
    50: '#88815b',
    500: '#57511c',
    950: '#000000',
  },
}
SCSS
$custom: #57511c;
$custom-light: #88815b;
$custom-dark: #000000;
JSON
{
  "hex": "#57511c",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 53.898,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.07281,
    "h": 102.9
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#57511C
secondary
#424A8D
accent
#5BDB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #57511C

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

Preview Lab → · Contrast checker → · Palette generator →

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