#525515#525515

#525515 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.084 H 112.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#525515
RGBrgb(82, 85, 21)
HSLhsl(63, 60%, 21%)
HSVhsv(63, 75%, 33%)
CMYKcmyk(3.5%, 0%, 75.3%, 66.7%)
CIE-LABlab(34.69, -10.28, 35.00)
CIE-LCHlch(34.69, 36.48, 106.38°)
OKLaboklab(43.35% -0.0316 0.078)
OKLCHoklch(43.35% 0.084 112.1)
XYZxyz(6.8637, 8.3451, 1.9585)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525515 #181555
analogous
#553815 #525515 #325515
triadic
#525515 #155255 #551552
tetradic
#525515 #155538 #181555 #551532
square
#525515 #155538 #181555 #551532
split-complementary
#525515 #153255 #381555
monochromatic
#181906 #232409 #525515 #818621 #B1B72D

Accessibility & contrast

On white

7.87
#525515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#525515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525515
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525515#FFFFFF#000000##FFFFFF
##5255151.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510B
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#584F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #525515;
/* rgb */ color: rgb(82, 85, 21);
/* oklch */ color: oklch(43.3% 0.084 112.1);
Tailwind
colors: {
  custom: {
    50: '#858457',
    500: '#525515',
    950: '#000000',
  },
}
SCSS
$custom: #525515;
$custom-light: #858457;
$custom-dark: #000000;
JSON
{
  "hex": "#525515",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 62.813,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.08421,
    "h": 112.1
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#525515
secondary
#3D398D
accent
#44E44C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525515

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

Preview Lab → · Contrast checker → · Palette generator →

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