#52450F#52450F

#52450F is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.072 H 95.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#52450F
RGBrgb(82, 69, 15)
HSLhsl(48, 69%, 19%)
HSVhsv(48, 82%, 32%)
CMYKcmyk(0%, 15.9%, 81.7%, 67.8%)
CIE-LABlab(29.63, -1.02, 32.65)
CIE-LCHlch(29.63, 32.66, 91.78°)
OKLaboklab(39.3% -0.0062 0.0718)
OKLCHoklch(39.3% 0.072 95)
XYZxyz(5.6943, 6.0849, 1.3264)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52450F #0F1C52
analogous
#52240F #52450F #3E520F
triadic
#52450F #0F5245 #450F52
tetradic
#52450F #0F5224 #0F1C52 #520F3E
square
#52450F #0F5224 #0F1C52 #520F3E
split-complementary
#52450F #0F3E52 #240F52
monochromatic
#1A1605 #1E1906 #52450F #867118 #B99C22

Accessibility & contrast

On white

9.47
#52450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#52450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52450F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52450F#FFFFFF#000000##FFFFFF
##52450F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#593F3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #52450f;
/* rgb */ color: rgb(82, 69, 15);
/* oklch */ color: oklch(39.3% 0.072 95.0);
Tailwind
colors: {
  custom: {
    50: '#857852',
    500: '#52450f',
    950: '#000000',
  },
}
SCSS
$custom: #52450f;
$custom-light: #857852;
$custom-dark: #000000;
JSON
{
  "hex": "#52450f",
  "rgb": {
    "r": 82,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 48.358,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39301,
    "c": 0.07208,
    "h": 95
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#52450F
secondary
#31428C
accent
#5EEC3C
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #52450F

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

Preview Lab → · Contrast checker → · Palette generator →

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