#525712#525712

#525712 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.089 H 113.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#525712
RGBrgb(82, 87, 18)
HSLhsl(64, 66%, 21%)
HSVhsv(64, 79%, 34%)
CMYKcmyk(5.7%, 0%, 79.3%, 65.9%)
CIE-LABlab(35.31, -11.60, 36.83)
CIE-LCHlch(35.31, 38.61, 107.49°)
OKLaboklab(43.83% -0.0357 0.0813)
OKLCHoklch(43.83% 0.089 113.7)
XYZxyz(6.9973, 8.6540, 1.8739)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525712 #171257
analogous
#573912 #525712 #2F5712
triadic
#525712 #125257 #571252
tetradic
#525712 #125739 #171257 #57122F
square
#525712 #125739 #171257 #57122F
split-complementary
#525712 #122F57 #391257
monochromatic
#181905 #222408 #525712 #828A1C #B2BC27

Accessibility & contrast

On white

7.69
#525712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#525712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525712
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525712#FFFFFF#000000##FFFFFF
##5257121.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#58514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #525712;
/* rgb */ color: rgb(82, 87, 18);
/* oklch */ color: oklch(43.8% 0.089 113.7);
Tailwind
colors: {
  custom: {
    50: '#858656',
    500: '#525712',
    950: '#000000',
  },
}
SCSS
$custom: #525712;
$custom-light: #858656;
$custom-dark: #000000;
JSON
{
  "hex": "#525712",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 64.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43834,
    "c": 0.08879,
    "h": 113.7
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#525712
secondary
#3C3590
accent
#3FE94B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525712

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

Preview Lab → · Contrast checker → · Palette generator →

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