#525215#525215

#525215 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.081 H 109.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#525215
RGBrgb(82, 82, 21)
HSLhsl(60, 59%, 20%)
HSVhsv(60, 74%, 32%)
CMYKcmyk(0%, 0%, 74.4%, 67.8%)
CIE-LABlab(33.74, -8.54, 34.05)
CIE-LCHlch(33.74, 35.10, 104.07°)
OKLaboklab(42.58% -0.0268 0.076)
OKLCHoklch(42.58% 0.081 109.4)
XYZxyz(6.6326, 7.8828, 1.8815)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525215 #151552
analogous
#523315 #525215 #335215
triadic
#525215 #155252 #521552
tetradic
#525215 #155233 #151552 #521533
square
#525215 #155233 #151552 #521533
split-complementary
#525215 #153352 #331552
monochromatic
#181806 #212109 #525215 #838321 #B3B32E

Accessibility & contrast

On white

8.15
#525215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#525215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525215
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525215#FFFFFF#000000##FFFFFF
##5252151.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#584C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525215;
/* rgb */ color: rgb(82, 82, 21);
/* oklch */ color: oklch(42.6% 0.081 109.4);
Tailwind
colors: {
  custom: {
    50: '#858257',
    500: '#525215',
    950: '#000000',
  },
}
SCSS
$custom: #525215;
$custom-light: #858257;
$custom-dark: #000000;
JSON
{
  "hex": "#525215",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.08061,
    "h": 109.4
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#525215
secondary
#39398A
accent
#45E245
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525215

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

Preview Lab → · Contrast checker → · Palette generator →

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