#57512F#57512F

#57512F is a dark, muted yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.051 H 99.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#57512F
RGBrgb(87, 81, 47)
HSLhsl(51, 30%, 26%)
HSVhsv(51, 46%, 34%)
CMYKcmyk(0%, 6.9%, 46%, 65.9%)
CIE-LABlab(34.22, -3.12, 20.86)
CIE-LCHlch(34.22, 21.09, 98.50°)
OKLaboklab(43.19% -0.0085 0.0507)
OKLCHoklch(43.19% 0.051 99.5)
XYZxyz(7.3862, 8.1166, 3.8663)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57512F #2F3557
analogous
#573D2F #57512F #49572F
triadic
#57512F #2F5751 #512F57
tetradic
#57512F #2F573D #2F3557 #572F49
square
#57512F #2F573D #2F3557 #572F49
split-complementary
#57512F #2F4957 #3D2F57
monochromatic
#14120B #2F2C1A #57512F #7F7644 #A69B5A

Accessibility & contrast

On white

8.01
#57512F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57512F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57512F#FFFFFF#000000##FFFFFF
##57512F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#5D4D49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #57512f;
/* rgb */ color: rgb(87, 81, 47);
/* oklch */ color: oklch(43.2% 0.051 99.5);
Tailwind
colors: {
  custom: {
    50: '#878168',
    500: '#57512f',
    950: '#000000',
  },
}
SCSS
$custom: #57512f;
$custom-light: #878168;
$custom-dark: #000000;
JSON
{
  "hex": "#57512f",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 51,
    "s": 29.851,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.05139,
    "h": 99.5
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#57512F
secondary
#596088
accent
#71C662
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0B0A06
muted
#7C7C7A

Preview Lab

Preview with #57512F

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

Preview Lab → · Contrast checker → · Palette generator →

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