#525815#525815

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

Color values

HEX#525815
RGBrgb(82, 88, 21)
HSLhsl(65, 61%, 21%)
HSVhsv(65, 76%, 35%)
CMYKcmyk(6.8%, 0%, 76.1%, 65.5%)
CIE-LABlab(35.65, -12.00, 35.94)
CIE-LCHlch(35.65, 37.89, 108.47°)
OKLaboklab(44.11% -0.0365 0.08)
OKLCHoklch(44.11% 0.088 114.5)
XYZxyz(7.1050, 8.8276, 2.0389)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525815 #1B1558
analogous
#583D15 #525815 #315815
triadic
#525815 #155258 #581552
tetradic
#525815 #15583D #1B1558 #581531
square
#525815 #15583D #1B1558 #581531
split-complementary
#525815 #153158 #3D1558
monochromatic
#171906 #242709 #525815 #808921 #AEBB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525815#FFFFFF#000000##FFFFFF
##5258151.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)
#5F5309
Deuteranopia (green-blind)
#5F541A
Tritanopia (blue-blind)
#58524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #525815;
/* rgb */ color: rgb(82, 88, 21);
/* oklch */ color: oklch(44.1% 0.088 114.5);
Tailwind
colors: {
  custom: {
    50: '#858758',
    500: '#525815',
    950: '#000000',
  },
}
SCSS
$custom: #525815;
$custom-light: #858758;
$custom-dark: #000000;
JSON
{
  "hex": "#525815",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 65.373,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.08794,
    "h": 114.5
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#525815
secondary
#413990
accent
#43E552
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525815

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

Preview Lab → · Contrast checker → · Palette generator →

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