#52420F#52420F

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

Color values

HEX#52420F
RGBrgb(82, 66, 15)
HSLhsl(46, 69%, 19%)
HSVhsv(46, 82%, 32%)
CMYKcmyk(0%, 19.5%, 81.7%, 67.8%)
CIE-LABlab(28.71, 0.86, 31.77)
CIE-LCHlch(28.71, 31.78, 88.46°)
OKLaboklab(38.58% -0.0009 0.0699)
OKLCHoklch(38.58% 0.07 90.7)
XYZxyz(5.5144, 5.7251, 1.2664)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52420F #0F1F52
analogous
#52210F #52420F #41520F
triadic
#52420F #0F5242 #420F52
tetradic
#52420F #0F5221 #0F1F52 #520F41
square
#52420F #0F5221 #0F1F52 #520F41
split-complementary
#52420F #0F4152 #210F52
monochromatic
#1A1505 #1E1806 #52420F #866C18 #B99522

Accessibility & contrast

On white

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

On black

2.15
#52420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52420F#FFFFFF#000000##FFFFFF
##52420F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52420f;
/* rgb */ color: rgb(82, 66, 15);
/* oklch */ color: oklch(38.6% 0.070 90.7);
Tailwind
colors: {
  custom: {
    50: '#867651',
    500: '#52420f',
    950: '#000000',
  },
}
SCSS
$custom: #52420f;
$custom-light: #867651;
$custom-dark: #000000;
JSON
{
  "hex": "#52420f",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 45.672,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.06995,
    "h": 90.7
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#52420F
secondary
#31478C
accent
#66EC3C
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #52420F

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

Preview Lab → · Contrast checker → · Palette generator →

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