#52491B#52491B

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

Color values

HEX#52491B
RGBrgb(82, 73, 27)
HSLhsl(50, 50%, 21%)
HSVhsv(50, 67%, 32%)
CMYKcmyk(0%, 11%, 67.1%, 67.8%)
CIE-LABlab(30.97, -2.70, 28.22)
CIE-LCHlch(30.97, 28.35, 95.47°)
OKLaboklab(40.4% -0.0094 0.0648)
OKLCHoklch(40.4% 0.065 98.3)
XYZxyz(6.0603, 6.6383, 1.9988)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52491B #1B2452
analogous
#522E1B #52491B #40521B
triadic
#52491B #1B5249 #491B52
tetradic
#52491B #1B522E #1B2452 #521B40
square
#52491B #1B522E #1B2452 #521B40
split-complementary
#52491B #1B4052 #2E1B52
monochromatic
#171408 #24200C #52491B #80722A #AE9B39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52491B#FFFFFF#000000##FFFFFF
##52491B1.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)
#504716
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#59443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #52491b;
/* rgb */ color: rgb(82, 73, 27);
/* oklch */ color: oklch(40.4% 0.065 98.3);
Tailwind
colors: {
  custom: {
    50: '#857b59',
    500: '#52491b',
    950: '#000000',
  },
}
SCSS
$custom: #52491b;
$custom-light: #857b59;
$custom-dark: #000000;
JSON
{
  "hex": "#52491b",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 27
  },
  "hsl": {
    "h": 50.182,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.06547,
    "h": 98.3
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#52491B
secondary
#414D88
accent
#65DA4E
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #52491B

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

Preview Lab → · Contrast checker → · Palette generator →

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