#52510D#52510D

#52510D is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.085 H 108.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#52510D
RGBrgb(82, 81, 13)
HSLhsl(59, 73%, 19%)
HSVhsv(59, 84%, 32%)
CMYKcmyk(0%, 1.2%, 84.1%, 67.8%)
CIE-LABlab(33.37, -8.37, 36.89)
CIE-LCHlch(33.37, 37.83, 102.79°)
OKLaboklab(42.27% -0.0271 0.0804)
OKLCHoklch(42.27% 0.085 108.7)
XYZxyz(6.4950, 7.7080, 1.5263)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52510D #0D0E52
analogous
#522E0D #52510D #30520D
triadic
#52510D #0D5251 #510D52
tetradic
#52510D #0D522E #0D0E52 #520D30
square
#52510D #0D522E #0D0E52 #520D30
split-complementary
#52510D #0D3052 #2E0D52
monochromatic
#1A1A04 #1D1D05 #52510D #878515 #BCB91E

Accessibility & contrast

On white

8.26
#52510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#52510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52510D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52510D#FFFFFF#000000##FFFFFF
##52510D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#594B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #52510d;
/* rgb */ color: rgb(82, 81, 13);
/* oklch */ color: oklch(42.3% 0.085 108.7);
Tailwind
colors: {
  custom: {
    50: '#858153',
    500: '#52510d',
    950: '#000000',
  },
}
SCSS
$custom: #52510d;
$custom-light: #858153;
$custom-dark: #000000;
JSON
{
  "hex": "#52510d",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 59.13,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.08487,
    "h": 108.7
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#52510D
secondary
#2E2F8D
accent
#3BEF38
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52510D

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

Preview Lab → · Contrast checker → · Palette generator →

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