#52420D#52420D

#52420D is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.6% C 0.071 H 91.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#52420D
RGBrgb(82, 66, 13)
HSLhsl(46, 73%, 19%)
HSVhsv(46, 84%, 32%)
CMYKcmyk(0%, 19.5%, 84.1%, 67.8%)
CIE-LABlab(28.69, 0.76, 32.61)
CIE-LCHlch(28.69, 32.62, 88.67°)
OKLaboklab(38.56% -0.0014 0.0713)
OKLCHoklch(38.56% 0.071 91.1)
XYZxyz(5.5009, 5.7197, 1.1950)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52420D #0D1D52
analogous
#521F0D #52420D #3F520D
triadic
#52420D #0D5242 #420D52
tetradic
#52420D #0D521F #0D1D52 #520D3F
square
#52420D #0D521F #0D1D52 #520D3F
split-complementary
#52420D #0D3F52 #1F0D52
monochromatic
#1A1504 #1D1705 #52420D #876D15 #BC971E

Accessibility & contrast

On white

9.80
#52420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#52420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52420D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52420D#FFFFFF#000000##FFFFFF
##52420D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4104
Deuteranopia (green-blind)
#4E4610
Tritanopia (blue-blind)
#593C38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #52420d;
/* rgb */ color: rgb(82, 66, 13);
/* oklch */ color: oklch(38.6% 0.071 91.1);
Tailwind
colors: {
  custom: {
    50: '#867650',
    500: '#52420d',
    950: '#000000',
  },
}
SCSS
$custom: #52420d;
$custom-light: #867650;
$custom-dark: #000000;
JSON
{
  "hex": "#52420d",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 46.087,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.07127,
    "h": 91.1
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#52420D
secondary
#2E448D
accent
#63EF38
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #52420D

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

Preview Lab → · Contrast checker → · Palette generator →

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