#52420B#52420B

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

Color values

HEX#52420B
RGBrgb(82, 66, 11)
HSLhsl(46, 76%, 18%)
HSVhsv(46, 87%, 32%)
CMYKcmyk(0%, 19.5%, 86.6%, 67.8%)
CIE-LABlab(28.68, 0.67, 33.41)
CIE-LCHlch(28.68, 33.41, 88.85°)
OKLaboklab(38.55% -0.0019 0.0725)
OKLCHoklch(38.55% 0.072 91.5)
XYZxyz(5.4886, 5.7148, 1.1305)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52420B #0B1B52
analogous
#521E0B #52420B #3E520B
triadic
#52420B #0B5242 #420B52
tetradic
#52420B #0B521E #0B1B52 #520B3E
square
#52420B #0B521E #0B1B52 #520B3E
split-complementary
#52420B #0B3E52 #1E0B52
monochromatic
#1B1604 #1C1704 #52420B #886D12 #BE9919

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52420B#FFFFFF#000000##FFFFFF
##52420B1.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)
#4B4102
Deuteranopia (green-blind)
#4E460F
Tritanopia (blue-blind)
#5A3C38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #52420b;
/* rgb */ color: rgb(82, 66, 11);
/* oklch */ color: oklch(38.5% 0.072 91.5);
Tailwind
colors: {
  custom: {
    50: '#86764f',
    500: '#52420b',
    950: '#000000',
  },
}
SCSS
$custom: #52420b;
$custom-light: #86764f;
$custom-dark: #000000;
JSON
{
  "hex": "#52420b",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 46.479,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.07249,
    "h": 91.5
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#52420B
secondary
#2B418E
accent
#60F335
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0802
muted
#7D7B78

Preview Lab

Preview with #52420B

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

Preview Lab → · Contrast checker → · Palette generator →

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