#57531F#57531F

#57531F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.072 H 104.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#57531F
RGBrgb(87, 83, 31)
HSLhsl(56, 47%, 23%)
HSVhsv(56, 64%, 34%)
CMYKcmyk(0%, 4.6%, 64.4%, 65.9%)
CIE-LABlab(34.62, -5.95, 30.31)
CIE-LCHlch(34.62, 30.89, 101.11°)
OKLaboklab(43.44% -0.0185 0.0697)
OKLCHoklch(43.44% 0.072 104.9)
XYZxyz(7.2713, 8.3119, 2.5174)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57531F #1F2357
analogous
#57371F #57531F #3F571F
triadic
#57531F #1F5753 #531F57
tetradic
#57531F #1F5737 #1F2357 #571F3F
square
#57531F #1F5737 #1F2357 #571F3F
split-complementary
#57531F #1F3F57 #371F57
monochromatic
#171608 #2A280F #57531F #847E2F #B1A93F

Accessibility & contrast

On white

7.89
#57531F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#57531F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57531F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57531F#FFFFFF#000000##FFFFFF
##57531F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#5C5322
Tritanopia (blue-blind)
#5D4D48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #57531f;
/* rgb */ color: rgb(87, 83, 31);
/* oklch */ color: oklch(43.4% 0.072 104.9);
Tailwind
colors: {
  custom: {
    50: '#88835d',
    500: '#57531f',
    950: '#000000',
  },
}
SCSS
$custom: #57531f;
$custom-light: #88835d;
$custom-dark: #000000;
JSON
{
  "hex": "#57531f",
  "rgb": {
    "r": 87,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 55.714,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.07214,
    "h": 104.9
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#57531F
secondary
#464B8C
accent
#5AD751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #57531F

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

Preview Lab → · Contrast checker → · Palette generator →

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