#57510F#57510F

#57510F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.083 H 104.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#57510F
RGBrgb(87, 81, 15)
HSLhsl(55, 71%, 20%)
HSVhsv(55, 83%, 34%)
CMYKcmyk(0%, 6.9%, 82.8%, 65.9%)
CIE-LABlab(33.87, -5.78, 36.80)
CIE-LCHlch(33.87, 37.25, 98.92°)
OKLaboklab(42.79% -0.02 0.0804)
OKLCHoklch(42.79% 0.083 104)
XYZxyz(6.9594, 7.9459, 1.6190)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57510F #0F1557
analogous
#572D0F #57510F #39570F
triadic
#57510F #0F5751 #510F57
tetradic
#57510F #0F572D #0F1557 #570F39
square
#57510F #0F572D #0F1557 #570F39
split-complementary
#57510F #0F3957 #2D0F57
monochromatic
#1A1805 #232006 #57510F #8B8218 #BFB221

Accessibility & contrast

On white

8.11
#57510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#57510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57510F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57510F#FFFFFF#000000##FFFFFF
##57510F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#5E4B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #57510f;
/* rgb */ color: rgb(87, 81, 15);
/* oklch */ color: oklch(42.8% 0.083 104.0);
Tailwind
colors: {
  custom: {
    50: '#898154',
    500: '#57510f',
    950: '#000000',
  },
}
SCSS
$custom: #57510f;
$custom-light: #898154;
$custom-dark: #000000;
JSON
{
  "hex": "#57510f",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 55,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.08286,
    "h": 104
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#57510F
secondary
#313991
accent
#49ED3A
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #57510F

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

Preview Lab → · Contrast checker → · Palette generator →

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