#57501B#57501B

#57501B is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.073 H 101.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#57501B
RGBrgb(87, 80, 27)
HSLhsl(53, 53%, 22%)
HSVhsv(53, 69%, 34%)
CMYKcmyk(0%, 8%, 69%, 65.9%)
CIE-LABlab(33.65, -4.47, 31.29)
CIE-LCHlch(33.65, 31.60, 98.13°)
OKLaboklab(42.65% -0.0148 0.0712)
OKLCHoklch(42.65% 0.073 101.8)
XYZxyz(6.9972, 7.8430, 2.1820)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57501B #1B2257
analogous
#57321B #57501B #40571B
triadic
#57501B #1B5750 #501B57
tetradic
#57501B #1B5732 #1B2257 #571B40
square
#57501B #1B5732 #1B2257 #571B40
split-complementary
#57501B #1B4057 #321B57
monochromatic
#171507 #28250D #57501B #867B29 #B4A638

Accessibility & contrast

On white

8.18
#57501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#57501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57501B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57501B#FFFFFF#000000##FFFFFF
##57501B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D15
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#5E4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #57501b;
/* rgb */ color: rgb(87, 80, 27);
/* oklch */ color: oklch(42.7% 0.073 101.8);
Tailwind
colors: {
  custom: {
    50: '#88805a',
    500: '#57501b',
    950: '#000000',
  },
}
SCSS
$custom: #57501b;
$custom-light: #88805a;
$custom-dark: #000000;
JSON
{
  "hex": "#57501b",
  "rgb": {
    "r": 87,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 53,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.07268,
    "h": 101.8
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#57501B
secondary
#414A8D
accent
#5DDC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #57501B

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

Preview Lab → · Contrast checker → · Palette generator →

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