#52470D#52470D

#52470D is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.075 H 97.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#52470D
RGBrgb(82, 71, 13)
HSLhsl(50, 73%, 19%)
HSVhsv(50, 84%, 32%)
CMYKcmyk(0%, 13.4%, 84.1%, 67.8%)
CIE-LABlab(30.23, -2.35, 34.03)
CIE-LCHlch(30.23, 34.12, 93.95°)
OKLaboklab(39.78% -0.0102 0.0743)
OKLCHoklch(39.78% 0.075 97.8)
XYZxyz(5.8059, 6.3297, 1.2966)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52470D #0D1852
analogous
#52240D #52470D #3A520D
triadic
#52470D #0D5247 #470D52
tetradic
#52470D #0D5224 #0D1852 #520D3A
square
#52470D #0D5224 #0D1852 #520D3A
split-complementary
#52470D #0D3A52 #240D52
monochromatic
#1A1704 #1D1905 #52470D #877515 #BCA21E

Accessibility & contrast

On white

9.27
#52470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#52470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52470D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52470D#FFFFFF#000000##FFFFFF
##52470D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4503
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#59413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #52470d;
/* rgb */ color: rgb(82, 71, 13);
/* oklch */ color: oklch(39.8% 0.075 97.8);
Tailwind
colors: {
  custom: {
    50: '#867951',
    500: '#52470d',
    950: '#000000',
  },
}
SCSS
$custom: #52470d;
$custom-light: #867951;
$custom-dark: #000000;
JSON
{
  "hex": "#52470d",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 50.435,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39775,
    "c": 0.075,
    "h": 97.8
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#52470D
secondary
#2E3D8D
accent
#56EF38
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #52470D

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

Preview Lab → · Contrast checker → · Palette generator →

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