#525816#525816

#525816 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.1% C 0.087 H 114.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#525816
RGBrgb(82, 88, 22)
HSLhsl(65, 60%, 22%)
HSVhsv(65, 75%, 35%)
CMYKcmyk(6.8%, 0%, 75%, 65.5%)
CIE-LABlab(35.66, -11.94, 35.53)
CIE-LCHlch(35.66, 37.48, 108.58°)
OKLaboklab(44.12% -0.0362 0.0793)
OKLCHoklch(44.12% 0.087 114.5)
XYZxyz(7.1144, 8.8313, 2.0887)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525816 #1C1658
analogous
#583D16 #525816 #315816
triadic
#525816 #165258 #581652
tetradic
#525816 #16583D #1C1658 #581631
square
#525816 #16583D #1C1658 #581631
split-complementary
#525816 #163158 #3D1658
monochromatic
#171806 #24270A #525816 #808922 #ADBA2E

Accessibility & contrast

On white

7.59
#525816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#525816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525816
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525816#FFFFFF#000000##FFFFFF
##5258161.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530B
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#58524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #525816;
/* rgb */ color: rgb(82, 88, 22);
/* oklch */ color: oklch(44.1% 0.087 114.5);
Tailwind
colors: {
  custom: {
    50: '#858758',
    500: '#525816',
    950: '#000000',
  },
}
SCSS
$custom: #525816;
$custom-light: #858758;
$custom-dark: #000000;
JSON
{
  "hex": "#525816",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 22
  },
  "hsl": {
    "h": 65.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.0872,
    "h": 114.5
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#525816
secondary
#423B8F
accent
#45E353
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525816

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

Preview Lab → · Contrast checker → · Palette generator →

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