#525011#525011

#525011 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.081 H 107.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#525011
RGBrgb(82, 80, 17)
HSLhsl(58, 66%, 19%)
HSVhsv(58, 79%, 32%)
CMYKcmyk(0%, 2.4%, 79.3%, 67.8%)
CIE-LABlab(33.07, -7.59, 35.10)
CIE-LCHlch(33.07, 35.91, 102.20°)
OKLaboklab(42.05% -0.0245 0.0775)
OKLCHoklch(42.05% 0.081 107.6)
XYZxyz(6.4498, 7.5718, 1.6520)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525011 #111352
analogous
#523011 #525011 #345211
triadic
#525011 #115250 #501152
tetradic
#525011 #115230 #111352 #521134
square
#525011 #115230 #111352 #521134
split-complementary
#525011 #113452 #301152
monochromatic
#191905 #1F1F06 #525011 #85811C #B7B326

Accessibility & contrast

On white

8.35
#525011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#525011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525011
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525011#FFFFFF#000000##FFFFFF
##5250111.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D06
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#594A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #525011;
/* rgb */ color: rgb(82, 80, 17);
/* oklch */ color: oklch(42.0% 0.081 107.6);
Tailwind
colors: {
  custom: {
    50: '#858054',
    500: '#525011',
    950: '#000000',
  },
}
SCSS
$custom: #525011;
$custom-light: #858054;
$custom-dark: #000000;
JSON
{
  "hex": "#525011",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 58.154,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42045,
    "c": 0.08125,
    "h": 107.6
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#525011
secondary
#34368B
accent
#44E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525011

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

Preview Lab → · Contrast checker → · Palette generator →

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