#525415#525415

#525415 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.083 H 111.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#525415
RGBrgb(82, 84, 21)
HSLhsl(62, 60%, 21%)
HSVhsv(62, 75%, 33%)
CMYKcmyk(2.4%, 0%, 75%, 67.1%)
CIE-LABlab(34.37, -9.70, 34.68)
CIE-LCHlch(34.37, 36.01, 105.63°)
OKLaboklab(43.09% -0.03 0.0774)
OKLCHoklch(43.09% 0.083 111.2)
XYZxyz(6.7856, 8.1888, 1.9325)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525415 #171554
analogous
#543615 #525415 #325415
triadic
#525415 #155254 #541552
tetradic
#525415 #155436 #171554 #541532
square
#525415 #155436 #171554 #541532
split-complementary
#525415 #153254 #361554
monochromatic
#181806 #222309 #525415 #828521 #B2B62D

Accessibility & contrast

On white

7.96
#525415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#525415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525415
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525415#FFFFFF#000000##FFFFFF
##5254151.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500B
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#584E48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #525415;
/* rgb */ color: rgb(82, 84, 21);
/* oklch */ color: oklch(43.1% 0.083 111.2);
Tailwind
colors: {
  custom: {
    50: '#858357',
    500: '#525415',
    950: '#000000',
  },
}
SCSS
$custom: #525415;
$custom-light: #858357;
$custom-dark: #000000;
JSON
{
  "hex": "#525415",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 61.905,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.08299,
    "h": 111.2
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#525415
secondary
#3C398C
accent
#45E34A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525415

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

Preview Lab → · Contrast checker → · Palette generator →

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