#525213#525213

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

Color values

HEX#525213
RGBrgb(82, 82, 19)
HSLhsl(60, 62%, 20%)
HSVhsv(60, 77%, 32%)
CMYKcmyk(0%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.72, -8.66, 34.90)
CIE-LCHlch(33.72, 35.95, 103.93°)
OKLaboklab(42.57% -0.0273 0.0774)
OKLCHoklch(42.57% 0.082 109.4)
XYZxyz(6.6147, 7.8756, 1.7877)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525213 #131352
analogous
#523313 #525213 #335213
triadic
#525213 #135252 #521352
tetradic
#525213 #135233 #131352 #521333
square
#525213 #135233 #131352 #521333
split-complementary
#525213 #133352 #331352
monochromatic
#191906 #202007 #525213 #84841F #B5B52A

Accessibility & contrast

On white

8.16
#525213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #525213
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525213#FFFFFF#000000##FFFFFF
##5252131.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #525213;
/* rgb */ color: rgb(82, 82, 19);
/* oklch */ color: oklch(42.6% 0.082 109.4);
Tailwind
colors: {
  custom: {
    50: '#858256',
    500: '#525213',
    950: '#000000',
  },
}
SCSS
$custom: #525213;
$custom-light: #858256;
$custom-dark: #000000;
JSON
{
  "hex": "#525213",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.08211,
    "h": 109.4
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#525213
secondary
#36368A
accent
#42E542
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525213

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

Preview Lab → · Contrast checker → · Palette generator →

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