#57501A#57501A

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

Color values

HEX#57501A
RGBrgb(87, 80, 26)
HSLhsl(53, 54%, 22%)
HSVhsv(53, 70%, 34%)
CMYKcmyk(0%, 8%, 70.1%, 65.9%)
CIE-LABlab(33.64, -4.54, 31.77)
CIE-LCHlch(33.64, 32.09, 98.13°)
OKLaboklab(42.64% -0.0152 0.072)
OKLCHoklch(42.64% 0.074 101.9)
XYZxyz(6.9859, 7.8384, 2.1221)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57501A #1A2157
analogous
#57321A #57501A #40571A
triadic
#57501A #1A5750 #501A57
tetradic
#57501A #1A5732 #1A2157 #571A40
square
#57501A #1A5732 #1A2157 #571A40
split-complementary
#57501A #1A4057 #321A57
monochromatic
#181607 #28250C #57501A #867B28 #B5A736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57501A#FFFFFF#000000##FFFFFF
##57501A1.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)
#584D13
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#5E4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #57501a;
/* rgb */ color: rgb(87, 80, 26);
/* oklch */ color: oklch(42.6% 0.074 101.9);
Tailwind
colors: {
  custom: {
    50: '#89805a',
    500: '#57501a',
    950: '#000000',
  },
}
SCSS
$custom: #57501a;
$custom-light: #89805a;
$custom-dark: #000000;
JSON
{
  "hex": "#57501a",
  "rgb": {
    "r": 87,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 53.115,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.07358,
    "h": 101.9
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#57501A
secondary
#40498D
accent
#5BDD4A
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #57501A

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

Preview Lab → · Contrast checker → · Palette generator →

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