#52420E#52420E

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

Color values

HEX#52420E
RGBrgb(82, 66, 14)
HSLhsl(46, 71%, 19%)
HSVhsv(46, 83%, 32%)
CMYKcmyk(0%, 19.5%, 82.9%, 67.8%)
CIE-LABlab(28.70, 0.81, 32.20)
CIE-LCHlch(28.70, 32.21, 88.56°)
OKLaboklab(38.57% -0.0011 0.0706)
OKLCHoklch(38.57% 0.071 90.9)
XYZxyz(5.5075, 5.7223, 1.2298)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52420E #0E1E52
analogous
#52200E #52420E #40520E
triadic
#52420E #0E5242 #420E52
tetradic
#52420E #0E5220 #0E1E52 #520E40
square
#52420E #0E5220 #0E1E52 #520E40
split-complementary
#52420E #0E4052 #200E52
monochromatic
#1A1504 #1E1805 #52420E #866C17 #BB9620

Accessibility & contrast

On white

9.79
#52420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52420E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52420E#FFFFFF#000000##FFFFFF
##52420E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52420e;
/* rgb */ color: rgb(82, 66, 14);
/* oklch */ color: oklch(38.6% 0.071 90.9);
Tailwind
colors: {
  custom: {
    50: '#867651',
    500: '#52420e',
    950: '#000000',
  },
}
SCSS
$custom: #52420e;
$custom-light: #867651;
$custom-dark: #000000;
JSON
{
  "hex": "#52420e",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 45.882,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38569,
    "c": 0.07063,
    "h": 90.9
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#52420E
secondary
#2F458C
accent
#64EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #52420E

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

Preview Lab → · Contrast checker → · Palette generator →

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