#57512A#57512A

#57512A is a dark, muted yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.058 H 100.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#57512A
RGBrgb(87, 81, 42)
HSLhsl(52, 35%, 25%)
HSVhsv(52, 52%, 34%)
CMYKcmyk(0%, 6.9%, 51.7%, 65.9%)
CIE-LABlab(34.15, -3.70, 23.69)
CIE-LCHlch(34.15, 23.98, 98.87°)
OKLaboklab(43.1% -0.0107 0.0567)
OKLCHoklch(43.1% 0.058 100.7)
XYZxyz(7.2910, 8.0785, 3.3653)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57512A #2A3057
analogous
#573A2A #57512A #46572A
triadic
#57512A #2A5751 #512A57
tetradic
#57512A #2A573A #2A3057 #572A46
square
#57512A #2A573A #2A3057 #572A46
split-complementary
#57512A #2A4657 #3A2A57
monochromatic
#15130A #2E2B16 #57512A #80773E #AA9E52

Accessibility & contrast

On white

8.03
#57512A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#57512A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57512A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57512A#FFFFFF#000000##FFFFFF
##57512A1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F27
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#5D4C48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #57512a;
/* rgb */ color: rgb(87, 81, 42);
/* oklch */ color: oklch(43.1% 0.058 100.7);
Tailwind
colors: {
  custom: {
    50: '#878164',
    500: '#57512a',
    950: '#000000',
  },
}
SCSS
$custom: #57512a;
$custom-light: #878164;
$custom-dark: #000000;
JSON
{
  "hex": "#57512a",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 52,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43102,
    "c": 0.05768,
    "h": 100.7
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#57512A
secondary
#535B89
accent
#6CCB5D
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0B0A05
muted
#7C7C7A

Preview Lab

Preview with #57512A

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

Preview Lab → · Contrast checker → · Palette generator →

#57512A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva