#51520D#51520D

#51520D is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.086 H 110.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#51520D
RGBrgb(81, 82, 13)
HSLhsl(61, 73%, 19%)
HSVhsv(61, 84%, 32%)
CMYKcmyk(1.2%, 0%, 84.1%, 67.8%)
CIE-LABlab(33.59, -9.46, 37.06)
CIE-LCHlch(33.59, 38.25, 104.32°)
OKLaboklab(42.43% -0.0301 0.0808)
OKLCHoklch(42.43% 0.086 110.4)
XYZxyz(6.4835, 7.8132, 1.5473)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51520D #0E0D52
analogous
#52300D #51520D #2E520D
triadic
#51520D #0D5152 #520D51
tetradic
#51520D #0D5230 #0E0D52 #520D2E
square
#51520D #0D5230 #0E0D52 #520D2E
split-complementary
#51520D #0D2E52 #300D52
monochromatic
#1A1A04 #1D1D05 #51520D #858715 #B9BC1E

Accessibility & contrast

On white

8.19
#51520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#51520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51520D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51520D#FFFFFF#000000##FFFFFF
##51520D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#574C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #51520d;
/* rgb */ color: rgb(81, 82, 13);
/* oklch */ color: oklch(42.4% 0.086 110.4);
Tailwind
colors: {
  custom: {
    50: '#858253',
    500: '#51520d',
    950: '#000000',
  },
}
SCSS
$custom: #51520d;
$custom-light: #858253;
$custom-dark: #000000;
JSON
{
  "hex": "#51520d",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 60.87,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.08624,
    "h": 110.4
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#51520D
secondary
#2F2E8D
accent
#38EF3B
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51520D

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

Preview Lab → · Contrast checker → · Palette generator →

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