#57531B#57531B

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

Color values

HEX#57531B
RGBrgb(87, 83, 27)
HSLhsl(56, 53%, 22%)
HSVhsv(56, 69%, 34%)
CMYKcmyk(0%, 4.6%, 69%, 65.9%)
CIE-LABlab(34.58, -6.26, 32.28)
CIE-LCHlch(34.58, 32.88, 100.98°)
OKLaboklab(43.39% -0.0199 0.0732)
OKLCHoklch(43.39% 0.076 105.2)
XYZxyz(7.2218, 8.2921, 2.2568)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57531B #1B1F57
analogous
#57351B #57531B #3D571B
triadic
#57531B #1B5753 #531B57
tetradic
#57531B #1B5735 #1B1F57 #571B3D
square
#57531B #1B5735 #1B1F57 #571B3D
split-complementary
#57531B #1B3D57 #351B57
monochromatic
#171607 #28260D #57531B #868029 #B4AC38

Accessibility & contrast

On white

7.90
#57531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57531B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57531B#FFFFFF#000000##FFFFFF
##57531B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#5E4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #57531b;
/* rgb */ color: rgb(87, 83, 27);
/* oklch */ color: oklch(43.4% 0.076 105.2);
Tailwind
colors: {
  custom: {
    50: '#88835a',
    500: '#57531b',
    950: '#000000',
  },
}
SCSS
$custom: #57531b;
$custom-light: #88835a;
$custom-dark: #000000;
JSON
{
  "hex": "#57531b",
  "rgb": {
    "r": 87,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 56,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.07591,
    "h": 105.2
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#57531B
secondary
#41468D
accent
#55DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #57531B

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

Preview Lab → · Contrast checker → · Palette generator →

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