#52540D#52540D

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

Color values

HEX#52540D
RGBrgb(82, 84, 13)
HSLhsl(62, 73%, 19%)
HSVhsv(62, 85%, 33%)
CMYKcmyk(2.4%, 0%, 84.5%, 67.1%)
CIE-LABlab(34.32, -10.12, 37.75)
CIE-LCHlch(34.32, 39.08, 105.01°)
OKLaboklab(43.03% -0.032 0.0822)
OKLCHoklch(43.03% 0.088 111.3)
XYZxyz(6.7229, 8.1637, 1.6023)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52540D #0F0D54
analogous
#54330D #52540D #2F540D
triadic
#52540D #0D5254 #540D52
tetradic
#52540D #0D5433 #0F0D54 #540D2F
square
#52540D #0D5433 #0F0D54 #540D2F
split-complementary
#52540D #0D2F54 #330D54
monochromatic
#1A1A04 #1E1F05 #52540D #868915 #B9BE1D

Accessibility & contrast

On white

7.98
#52540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52540D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52540D#FFFFFF#000000##FFFFFF
##52540D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52540d;
/* rgb */ color: rgb(82, 84, 13);
/* oklch */ color: oklch(43.0% 0.088 111.3);
Tailwind
colors: {
  custom: {
    50: '#858353',
    500: '#52540d',
    950: '#000000',
  },
}
SCSS
$custom: #52540d;
$custom-light: #858353;
$custom-dark: #000000;
JSON
{
  "hex": "#52540d",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 61.69,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.08825,
    "h": 111.3
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#52540D
secondary
#312E8F
accent
#38F03D
background
#F8F8F4
surface
#F0EFE8
border
#CBCAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52540D

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

Preview Lab → · Contrast checker → · Palette generator →

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