#52580F#52580F

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

Color values

HEX#52580F
RGBrgb(82, 88, 15)
HSLhsl(65, 71%, 20%)
HSVhsv(65, 83%, 35%)
CMYKcmyk(6.8%, 0%, 83%, 65.5%)
CIE-LABlab(35.61, -12.33, 38.22)
CIE-LCHlch(35.61, 40.16, 107.87°)
OKLaboklab(44.07% -0.0379 0.0837)
OKLCHoklch(44.07% 0.092 114.4)
XYZxyz(7.0558, 8.8079, 1.7803)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52580F #150F58
analogous
#583A0F #52580F #2D580F
triadic
#52580F #0F5258 #580F52
tetradic
#52580F #0F583A #150F58 #580F2D
square
#52580F #0F583A #150F58 #580F2D
split-complementary
#52580F #0F2D58 #3A0F58
monochromatic
#181A04 #212406 #52580F #838C18 #B3C121

Accessibility & contrast

On white

7.60
#52580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52580F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52580F#FFFFFF#000000##FFFFFF
##52580F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52580f;
/* rgb */ color: rgb(82, 88, 15);
/* oklch */ color: oklch(44.1% 0.092 114.4);
Tailwind
colors: {
  custom: {
    50: '#858755',
    500: '#52580f',
    950: '#000000',
  },
}
SCSS
$custom: #52580f;
$custom-light: #858755;
$custom-dark: #000000;
JSON
{
  "hex": "#52580f",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 64.932,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44071,
    "c": 0.09186,
    "h": 114.4
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#52580F
secondary
#393192
accent
#3AEE49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #52580F

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

Preview Lab → · Contrast checker → · Palette generator →

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