#52540E#52540E

#52540E is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.088 H 111.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#52540E
RGBrgb(82, 84, 14)
HSLhsl(62, 71%, 19%)
HSVhsv(62, 83%, 33%)
CMYKcmyk(2.4%, 0%, 83.3%, 67.1%)
CIE-LABlab(34.33, -10.08, 37.41)
CIE-LCHlch(34.33, 38.74, 105.08°)
OKLaboklab(43.04% -0.0318 0.0817)
OKLCHoklch(43.04% 0.088 111.3)
XYZxyz(6.7295, 8.1664, 1.6372)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52540E #100E54
analogous
#54330E #52540E #2F540E
triadic
#52540E #0E5254 #540E52
tetradic
#52540E #0E5433 #100E54 #540E2F
square
#52540E #0E5433 #100E54 #540E2F
split-complementary
#52540E #0E2F54 #330E54
monochromatic
#1A1A04 #1F2005 #52540E #858817 #B8BD1F

Accessibility & contrast

On white

7.98
#52540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#52540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52540E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52540E#FFFFFF#000000##FFFFFF
##52540E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#584E47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #52540e;
/* rgb */ color: rgb(82, 84, 14);
/* oklch */ color: oklch(43.0% 0.088 111.3);
Tailwind
colors: {
  custom: {
    50: '#858354',
    500: '#52540e',
    950: '#000000',
  },
}
SCSS
$custom: #52540e;
$custom-light: #858354;
$custom-dark: #000000;
JSON
{
  "hex": "#52540e",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 61.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.08769,
    "h": 111.3
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#52540E
secondary
#322F8E
accent
#3AEE3F
background
#F8F8F5
surface
#F0EFE8
border
#CBCAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52540E

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

Preview Lab → · Contrast checker → · Palette generator →

#52540E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva