#52491A#52491A

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

Color values

HEX#52491A
RGBrgb(82, 73, 26)
HSLhsl(50, 52%, 21%)
HSVhsv(50, 68%, 32%)
CMYKcmyk(0%, 11%, 68.3%, 67.8%)
CIE-LABlab(30.96, -2.78, 28.74)
CIE-LCHlch(30.96, 28.87, 95.53°)
OKLaboklab(40.39% -0.0098 0.0657)
OKLCHoklch(40.39% 0.066 98.5)
XYZxyz(6.0489, 6.6338, 1.9389)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52491A #1A2352
analogous
#522D1A #52491A #3F521A
triadic
#52491A #1A5249 #491A52
tetradic
#52491A #1A522D #1A2352 #521A3F
square
#52491A #1A522D #1A2352 #521A3F
split-complementary
#52491A #1A3F52 #2D1A52
monochromatic
#171507 #24200B #52491A #807229 #AF9C37

Accessibility & contrast

On white

9.03
#52491A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52491A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52491A#FFFFFF#000000##FFFFFF
##52491A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504715
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#59433F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #52491a;
/* rgb */ color: rgb(82, 73, 26);
/* oklch */ color: oklch(40.4% 0.066 98.5);
Tailwind
colors: {
  custom: {
    50: '#857b59',
    500: '#52491a',
    950: '#000000',
  },
}
SCSS
$custom: #52491a;
$custom-light: #857b59;
$custom-dark: #000000;
JSON
{
  "hex": "#52491a",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 26
  },
  "hsl": {
    "h": 50.357,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.06645,
    "h": 98.5
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#52491A
secondary
#404B88
accent
#63DB4C
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #52491A

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

Preview Lab → · Contrast checker → · Palette generator →

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