#52540F#52540F

#52540F is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.087 H 111.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#52540F
RGBrgb(82, 84, 15)
HSLhsl(62, 70%, 19%)
HSVhsv(62, 82%, 33%)
CMYKcmyk(2.4%, 0%, 82.1%, 67.1%)
CIE-LABlab(34.33, -10.03, 37.05)
CIE-LCHlch(34.33, 38.39, 105.15°)
OKLaboklab(43.05% -0.0316 0.0812)
OKLCHoklch(43.05% 0.087 111.3)
XYZxyz(6.7365, 8.1692, 1.6738)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52540F #110F54
analogous
#54340F #52540F #30540F
triadic
#52540F #0F5254 #540F52
tetradic
#52540F #0F5434 #110F54 #540F30
square
#52540F #0F5434 #110F54 #540F30
split-complementary
#52540F #0F3054 #340F54
monochromatic
#191A05 #1F2006 #52540F #858818 #B7BC22

Accessibility & contrast

On white

7.97
#52540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#52540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52540F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52540F#FFFFFF#000000##FFFFFF
##52540F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5001
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#584E47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #52540f;
/* rgb */ color: rgb(82, 84, 15);
/* oklch */ color: oklch(43.0% 0.087 111.3);
Tailwind
colors: {
  custom: {
    50: '#858354',
    500: '#52540f',
    950: '#000000',
  },
}
SCSS
$custom: #52540f;
$custom-light: #858354;
$custom-dark: #000000;
JSON
{
  "hex": "#52540f",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 61.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.0871,
    "h": 111.3
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#52540F
secondary
#34318E
accent
#3BED40
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52540F

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

Preview Lab → · Contrast checker → · Palette generator →

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