#52541B#52541B

#52541B is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.078 H 111.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#52541B
RGBrgb(82, 84, 27)
HSLhsl(62, 51%, 22%)
HSVhsv(62, 68%, 33%)
CMYKcmyk(2.4%, 0%, 67.9%, 67.1%)
CIE-LABlab(34.42, -9.29, 31.96)
CIE-LCHlch(34.42, 33.29, 106.21°)
OKLaboklab(43.15% -0.0282 0.0727)
OKLCHoklch(43.15% 0.078 111.2)
XYZxyz(6.8480, 8.2138, 2.2614)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52541B #1D1B54
analogous
#543A1B #52541B #36541B
triadic
#52541B #1B5254 #541B52
tetradic
#52541B #1B543A #1D1B54 #541B36
square
#52541B #1B543A #1D1B54 #541B36
split-complementary
#52541B #1B3654 #3A1B54
monochromatic
#171707 #25260C #52541B #7F822A #ACB139

Accessibility & contrast

On white

7.95
#52541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#52541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52541B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52541B#FFFFFF#000000##FFFFFF
##52541B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5014
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#584F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #52541b;
/* rgb */ color: rgb(82, 84, 27);
/* oklch */ color: oklch(43.1% 0.078 111.2);
Tailwind
colors: {
  custom: {
    50: '#85845a',
    500: '#52541b',
    950: '#000000',
  },
}
SCSS
$custom: #52541b;
$custom-light: #85845a;
$custom-dark: #000000;
JSON
{
  "hex": "#52541b",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 62.105,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.07799,
    "h": 111.2
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#52541B
secondary
#44418A
accent
#4DDB52
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #52541B

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

Preview Lab → · Contrast checker → · Palette generator →

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