#51570E#51570E

#51570E 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#51570E
RGBrgb(81, 87, 14)
HSLhsl(65, 72%, 20%)
HSVhsv(65, 84%, 34%)
CMYKcmyk(6.9%, 0%, 83.9%, 65.9%)
CIE-LABlab(35.20, -12.29, 38.16)
CIE-LCHlch(35.20, 40.09, 107.85°)
OKLaboklab(43.72% -0.0379 0.0834)
OKLCHoklch(43.72% 0.092 114.4)
XYZxyz(6.8810, 8.5976, 1.7124)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51570E #140E57
analogous
#57390E #51570E #2C570E
triadic
#51570E #0E5157 #570E51
tetradic
#51570E #0E5739 #140E57 #570E2C
square
#51570E #0E5739 #140E57 #570E2C
split-complementary
#51570E #0E2C57 #390E57
monochromatic
#191A04 #202206 #51570E #828C16 #B3C01F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51570E#FFFFFF#000000##FFFFFF
##51570E1.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)
#5E5315
Tritanopia (blue-blind)
#57514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #51570e;
/* rgb */ color: rgb(81, 87, 14);
/* oklch */ color: oklch(43.7% 0.092 114.4);
Tailwind
colors: {
  custom: {
    50: '#858654',
    500: '#51570e',
    950: '#000000',
  },
}
SCSS
$custom: #51570e;
$custom-light: #858654;
$custom-dark: #000000;
JSON
{
  "hex": "#51570e",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 64.932,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.09157,
    "h": 114.4
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#51570E
secondary
#383091
accent
#39EF48
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51570E

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

Preview Lab → · Contrast checker → · Palette generator →

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