#525612#525612

#525612 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.6% C 0.088 H 112.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#525612
RGBrgb(82, 86, 18)
HSLhsl(64, 65%, 20%)
HSVhsv(64, 79%, 34%)
CMYKcmyk(4.7%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.99, -11.03, 36.52)
CIE-LCHlch(34.99, 38.15, 106.81°)
OKLaboklab(43.58% -0.0341 0.0807)
OKLCHoklch(43.58% 0.088 112.9)
XYZxyz(6.9169, 8.4932, 1.8471)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525612 #161256
analogous
#563812 #525612 #305612
triadic
#525612 #125256 #561252
tetradic
#525612 #125638 #161256 #561230
square
#525612 #125638 #161256 #561230
split-complementary
#525612 #123056 #381256
monochromatic
#181905 #222307 #525612 #82891D #B3BB27

Accessibility & contrast

On white

7.78
#525612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#525612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525612
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525612#FFFFFF#000000##FFFFFF
##5256121.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#585049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #525612;
/* rgb */ color: rgb(82, 86, 18);
/* oklch */ color: oklch(43.6% 0.088 112.9);
Tailwind
colors: {
  custom: {
    50: '#858556',
    500: '#525612',
    950: '#000000',
  },
}
SCSS
$custom: #525612;
$custom-light: #858556;
$custom-dark: #000000;
JSON
{
  "hex": "#525612",
  "rgb": {
    "r": 82,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 63.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.08757,
    "h": 112.9
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#525612
secondary
#3A358F
accent
#3FE849
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525612

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

Preview Lab → · Contrast checker → · Palette generator →

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