#52460F#52460F

#52460F is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.073 H 96.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#52460F
RGBrgb(82, 70, 15)
HSLhsl(49, 69%, 19%)
HSVhsv(49, 82%, 32%)
CMYKcmyk(0%, 14.6%, 81.7%, 67.8%)
CIE-LABlab(29.93, -1.64, 32.94)
CIE-LCHlch(29.93, 32.98, 92.84°)
OKLaboklab(39.55% -0.008 0.0724)
OKLCHoklch(39.55% 0.073 96.3)
XYZxyz(5.7564, 6.2090, 1.3471)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52460F #0F1B52
analogous
#52250F #52460F #3D520F
triadic
#52460F #0F5246 #460F52
tetradic
#52460F #0F5225 #0F1B52 #520F3D
square
#52460F #0F5225 #0F1B52 #520F3D
split-complementary
#52460F #0F3D52 #250F52
monochromatic
#1A1605 #1E1A06 #52460F #867218 #B99E22

Accessibility & contrast

On white

9.37
#52460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#52460F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52460F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52460F#FFFFFF#000000##FFFFFF
##52460F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#59403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #52460f;
/* rgb */ color: rgb(82, 70, 15);
/* oklch */ color: oklch(39.5% 0.073 96.3);
Tailwind
colors: {
  custom: {
    50: '#857952',
    500: '#52460f',
    950: '#000000',
  },
}
SCSS
$custom: #52460f;
$custom-light: #857952;
$custom-dark: #000000;
JSON
{
  "hex": "#52460f",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 49.254,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.07287,
    "h": 96.3
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#52460F
secondary
#31418C
accent
#5BEC3C
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #52460F

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

Preview Lab → · Contrast checker → · Palette generator →

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