#52560F#52560F

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

Color values

HEX#52560F
RGBrgb(82, 86, 15)
HSLhsl(63, 70%, 20%)
HSVhsv(63, 83%, 34%)
CMYKcmyk(4.7%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.97, -11.19, 37.64)
CIE-LCHlch(34.97, 39.26, 106.55°)
OKLaboklab(43.56% -0.0348 0.0824)
OKLCHoklch(43.56% 0.089 112.9)
XYZxyz(6.8939, 8.4841, 1.7263)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52560F #130F56
analogous
#56360F #52560F #2F560F
triadic
#52560F #0F5256 #560F52
tetradic
#52560F #0F5636 #130F56 #560F2F
square
#52560F #0F5636 #130F56 #560F2F
split-complementary
#52560F #0F2F56 #360F56
monochromatic
#191A05 #202206 #52560F #848A18 #B5BE21

Accessibility & contrast

On white

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

On black

2.70
#52560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52560F#FFFFFF#000000##FFFFFF
##52560F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52560f;
/* rgb */ color: rgb(82, 86, 15);
/* oklch */ color: oklch(43.6% 0.089 112.9);
Tailwind
colors: {
  custom: {
    50: '#858554',
    500: '#52560f',
    950: '#000000',
  },
}
SCSS
$custom: #52560f;
$custom-light: #858554;
$custom-dark: #000000;
JSON
{
  "hex": "#52560f",
  "rgb": {
    "r": 82,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 63.38,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43558,
    "c": 0.08946,
    "h": 112.9
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#52560F
secondary
#363190
accent
#3BED45
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #52560F

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

Preview Lab → · Contrast checker → · Palette generator →

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