#52560B#52560B

#52560B is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.092 H 112.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#52560B
RGBrgb(82, 86, 11)
HSLhsl(63, 77%, 19%)
HSVhsv(63, 87%, 34%)
CMYKcmyk(4.7%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.95, -11.36, 38.96)
CIE-LCHlch(34.95, 40.58, 106.25°)
OKLaboklab(43.53% -0.0356 0.0844)
OKLCHoklch(43.53% 0.092 112.9)
XYZxyz(6.8681, 8.4737, 1.5903)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52560B #0F0B56
analogous
#56350B #52560B #2D560B
triadic
#52560B #0B5256 #560B52
tetradic
#52560B #0B5635 #0F0B56 #560B2D
square
#52560B #0B5635 #0F0B56 #560B2D
split-complementary
#52560B #0B2D56 #350B56
monochromatic
#1A1B03 #1E2004 #52560B #868C12 #B9C319

Accessibility & contrast

On white

7.79
#52560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#52560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52560B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52560B#FFFFFF#000000##FFFFFF
##52560B1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#5D5312
Tritanopia (blue-blind)
#585049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #52560b;
/* rgb */ color: rgb(82, 86, 11);
/* oklch */ color: oklch(43.5% 0.092 112.9);
Tailwind
colors: {
  custom: {
    50: '#858553',
    500: '#52560b',
    950: '#000000',
  },
}
SCSS
$custom: #52560b;
$custom-light: #858553;
$custom-dark: #000000;
JSON
{
  "hex": "#52560b",
  "rgb": {
    "r": 82,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 63.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.09162,
    "h": 112.9
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#52560B
secondary
#312B91
accent
#34F43E
background
#F8F8F4
surface
#F0EFE7
border
#CBCAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #52560B

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

Preview Lab → · Contrast checker → · Palette generator →

#52560B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva