#52491C#52491C

#52491C is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.4% C 0.064 H 98.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#52491C
RGBrgb(82, 73, 28)
HSLhsl(50, 49%, 22%)
HSVhsv(50, 66%, 32%)
CMYKcmyk(0%, 11%, 65.9%, 67.8%)
CIE-LABlab(30.98, -2.62, 27.70)
CIE-LCHlch(30.98, 27.82, 95.40°)
OKLaboklab(40.41% -0.0091 0.0638)
OKLCHoklch(40.41% 0.064 98.1)
XYZxyz(6.0721, 6.6430, 2.0608)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52491C #1C2552
analogous
#522E1C #52491C #40521C
triadic
#52491C #1C5249 #491C52
tetradic
#52491C #1C522E #1C2552 #521C40
square
#52491C #1C522E #1C2552 #521C40
split-complementary
#52491C #1C4052 #2E1C52
monochromatic
#171408 #24200C #52491C #80722C #AD9A3B

Accessibility & contrast

On white

9.02
#52491C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#52491C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52491C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52491C#FFFFFF#000000##FFFFFF
##52491C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#534A1E
Tritanopia (blue-blind)
#59443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #52491c;
/* rgb */ color: rgb(82, 73, 28);
/* oklch */ color: oklch(40.4% 0.064 98.1);
Tailwind
colors: {
  custom: {
    50: '#847b5a',
    500: '#52491c',
    950: '#000000',
  },
}
SCSS
$custom: #52491c;
$custom-light: #847b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#52491c",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 50,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40412,
    "c": 0.06448,
    "h": 98.1
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#52491C
secondary
#424E88
accent
#66D94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #52491C

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

Preview Lab → · Contrast checker → · Palette generator →

#52491C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva