#525512#525512

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

Color values

HEX#525512
RGBrgb(82, 85, 18)
HSLhsl(63, 65%, 20%)
HSVhsv(63, 79%, 33%)
CMYKcmyk(3.5%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.67, -10.46, 36.22)
CIE-LCHlch(34.67, 37.70, 106.10°)
OKLaboklab(43.32% -0.0325 0.08)
OKLCHoklch(43.32% 0.086 112.1)
XYZxyz(6.8376, 8.3347, 1.8207)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525512 #151255
analogous
#553712 #525512 #305512
triadic
#525512 #125255 #551252
tetradic
#525512 #125537 #151255 #551230
square
#525512 #125537 #151255 #551230
split-complementary
#525512 #123055 #371255
monochromatic
#181905 #212207 #525512 #83881D #B3BA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525512#FFFFFF#000000##FFFFFF
##5255121.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)
#5C5105
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#584F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #525512;
/* rgb */ color: rgb(82, 85, 18);
/* oklch */ color: oklch(43.3% 0.086 112.1);
Tailwind
colors: {
  custom: {
    50: '#858456',
    500: '#525512',
    950: '#000000',
  },
}
SCSS
$custom: #525512;
$custom-light: #858456;
$custom-dark: #000000;
JSON
{
  "hex": "#525512",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 62.687,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.08635,
    "h": 112.1
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#525512
secondary
#39358E
accent
#40E847
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525512

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

Preview Lab → · Contrast checker → · Palette generator →

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