#51570D#51570D

#51570D is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.092 H 114.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#51570D
RGBrgb(81, 87, 13)
HSLhsl(65, 74%, 20%)
HSVhsv(65, 85%, 34%)
CMYKcmyk(6.9%, 0%, 85.1%, 65.9%)
CIE-LABlab(35.19, -12.33, 38.50)
CIE-LCHlch(35.19, 40.42, 107.77°)
OKLaboklab(43.71% -0.0381 0.0839)
OKLCHoklch(43.71% 0.092 114.4)
XYZxyz(6.8744, 8.5949, 1.6775)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51570D #130D57
analogous
#57380D #51570D #2C570D
triadic
#51570D #0D5157 #570D51
tetradic
#51570D #0D5738 #130D57 #570D2C
square
#51570D #0D5738 #130D57 #570D2C
split-complementary
#51570D #0D2C57 #380D57
monochromatic
#191B04 #1F2205 #51570D #838C15 #B4C11D

Accessibility & contrast

On white

7.72
#51570D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#51570D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51570D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51570D#FFFFFF#000000##FFFFFF
##51570D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5E5314
Tritanopia (blue-blind)
#575149
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #51570d;
/* rgb */ color: rgb(81, 87, 13);
/* oklch */ color: oklch(43.7% 0.092 114.4);
Tailwind
colors: {
  custom: {
    50: '#858654',
    500: '#51570d',
    950: '#000000',
  },
}
SCSS
$custom: #51570d;
$custom-light: #858654;
$custom-dark: #000000;
JSON
{
  "hex": "#51570d",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 13
  },
  "hsl": {
    "h": 64.865,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.09212,
    "h": 114.4
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#51570D
secondary
#362E92
accent
#37F146
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51570D

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

Preview Lab → · Contrast checker → · Palette generator →

#51570D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva