#525111#525111

#525111 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.082 H 108.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#525111
RGBrgb(82, 81, 17)
HSLhsl(59, 66%, 19%)
HSVhsv(59, 79%, 32%)
CMYKcmyk(0%, 1.2%, 79.3%, 67.8%)
CIE-LABlab(33.39, -8.18, 35.40)
CIE-LCHlch(33.39, 36.33, 103.01°)
OKLaboklab(42.3% -0.0262 0.0781)
OKLCHoklch(42.3% 0.082 108.5)
XYZxyz(6.5235, 7.7194, 1.6766)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525111 #111252
analogous
#523111 #525111 #335211
triadic
#525111 #115251 #511152
tetradic
#525111 #115231 #111252 #521133
square
#525111 #115231 #111252 #521133
split-complementary
#525111 #113352 #311152
monochromatic
#191905 #1F1F06 #525111 #85831C #B7B526

Accessibility & contrast

On white

8.26
#525111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#525111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525111
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525111#FFFFFF#000000##FFFFFF
##5251111.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#584B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525111;
/* rgb */ color: rgb(82, 81, 17);
/* oklch */ color: oklch(42.3% 0.082 108.5);
Tailwind
colors: {
  custom: {
    50: '#858154',
    500: '#525111',
    950: '#000000',
  },
}
SCSS
$custom: #525111;
$custom-light: #858154;
$custom-dark: #000000;
JSON
{
  "hex": "#525111",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 59.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.08237,
    "h": 108.5
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#525111
secondary
#34358B
accent
#42E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525111

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

Preview Lab → · Contrast checker → · Palette generator →

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