#52580D#52580D

#52580D is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.1% C 0.093 H 114.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#52580D
RGBrgb(82, 88, 13)
HSLhsl(65, 74%, 20%)
HSVhsv(65, 85%, 35%)
CMYKcmyk(6.8%, 0%, 85.2%, 65.5%)
CIE-LABlab(35.60, -12.41, 38.89)
CIE-LCHlch(35.60, 40.83, 107.70°)
OKLaboklab(44.06% -0.0384 0.0847)
OKLCHoklch(44.06% 0.093 114.4)
XYZxyz(7.0423, 8.8025, 1.7088)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52580D #130D58
analogous
#58390D #52580D #2D580D
triadic
#52580D #0D5258 #580D52
tetradic
#52580D #0D5839 #130D58 #580D2D
square
#52580D #0D5839 #130D58 #580D2D
split-complementary
#52580D #0D2D58 #390D58
monochromatic
#191B04 #202305 #52580D #848D15 #B5C31D

Accessibility & contrast

On white

7.61
#52580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#52580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52580D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52580D#FFFFFF#000000##FFFFFF
##52580D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5F5414
Tritanopia (blue-blind)
#58524A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #52580d;
/* rgb */ color: rgb(82, 88, 13);
/* oklch */ color: oklch(44.1% 0.093 114.4);
Tailwind
colors: {
  custom: {
    50: '#858754',
    500: '#52580d',
    950: '#000000',
  },
}
SCSS
$custom: #52580d;
$custom-light: #858754;
$custom-dark: #000000;
JSON
{
  "hex": "#52580d",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 64.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.09298,
    "h": 114.4
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#52580D
secondary
#362E93
accent
#37F146
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #52580D

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

Preview Lab → · Contrast checker → · Palette generator →

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