#52491F#52491F

#52491F is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.061 H 97.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#52491F
RGBrgb(82, 73, 31)
HSLhsl(49, 45%, 22%)
HSVhsv(49, 62%, 32%)
CMYKcmyk(0%, 11%, 62.2%, 67.8%)
CIE-LABlab(31.02, -2.36, 26.10)
CIE-LCHlch(31.02, 26.21, 95.17°)
OKLaboklab(40.45% -0.0079 0.0608)
OKLCHoklch(40.45% 0.061 97.4)
XYZxyz(6.1098, 6.6581, 2.2594)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52491F #1F2852
analogous
#52301F #52491F #42521F
triadic
#52491F #1F5249 #491F52
tetradic
#52491F #1F5230 #1F2852 #521F42
square
#52491F #1F5230 #1F2852 #521F42
split-complementary
#52491F #1F4252 #301F52
monochromatic
#161408 #26210E #52491F #7E7130 #AB9841

Accessibility & contrast

On white

9.01
#52491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52491F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52491F#FFFFFF#000000##FFFFFF
##52491F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471B
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#584440
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #52491f;
/* rgb */ color: rgb(82, 73, 31);
/* oklch */ color: oklch(40.5% 0.061 97.4);
Tailwind
colors: {
  custom: {
    50: '#847b5c',
    500: '#52491f',
    950: '#000000',
  },
}
SCSS
$custom: #52491f;
$custom-light: #847b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#52491f",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 49.412,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.06135,
    "h": 97.4
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#52491F
secondary
#465187
accent
#6AD553
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #52491F

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

Preview Lab → · Contrast checker → · Palette generator →

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