#525311#525311

#525311 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.085 H 110.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#525311
RGBrgb(82, 83, 17)
HSLhsl(61, 66%, 20%)
HSVhsv(61, 80%, 33%)
CMYKcmyk(1.2%, 0%, 79.5%, 67.5%)
CIE-LABlab(34.03, -9.35, 36.00)
CIE-LCHlch(34.03, 37.20, 104.56°)
OKLaboklab(42.81% -0.0295 0.0794)
OKLCHoklch(42.81% 0.085 110.4)
XYZxyz(6.6743, 8.0210, 1.7268)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525311 #121153
analogous
#533311 #525311 #315311
triadic
#525311 #115253 #531152
tetradic
#525311 #115333 #121153 #531131
square
#525311 #115333 #121153 #531131
split-complementary
#525311 #113153 #331153
monochromatic
#191905 #202007 #525311 #84861B #B6B926

Accessibility & contrast

On white

8.06
#525311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#525311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525311
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525311#FFFFFF#000000##FFFFFF
##5253111.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#584D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #525311;
/* rgb */ color: rgb(82, 83, 17);
/* oklch */ color: oklch(42.8% 0.085 110.4);
Tailwind
colors: {
  custom: {
    50: '#858355',
    500: '#525311',
    950: '#000000',
  },
}
SCSS
$custom: #525311;
$custom-light: #858355;
$custom-dark: #000000;
JSON
{
  "hex": "#525311",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 60.909,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42805,
    "c": 0.08466,
    "h": 110.4
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#525311
secondary
#35348C
accent
#3FE941
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525311

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

Preview Lab → · Contrast checker → · Palette generator →

#525311 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva