#525B16#525B16

#525B16 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.091 H 116.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#525B16
RGBrgb(82, 91, 22)
HSLhsl(68, 61%, 22%)
HSVhsv(68, 76%, 36%)
CMYKcmyk(9.9%, 0%, 75.8%, 64.3%)
CIE-LABlab(36.62, -13.64, 36.48)
CIE-LCHlch(36.62, 38.94, 110.50°)
OKLaboklab(44.89% -0.0409 0.0814)
OKLCHoklch(44.89% 0.091 116.7)
XYZxyz(7.3658, 9.3340, 2.1725)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525B16 #1F165B
analogous
#5B4216 #525B16 #305B16
triadic
#525B16 #16525B #5B1652
tetradic
#525B16 #165B42 #1F165B #5B1630
square
#525B16 #165B42 #1F165B #5B1630
split-complementary
#525B16 #16305B #42165B
monochromatic
#161906 #262A0A #525B16 #7E8C22 #ABBE2E

Accessibility & contrast

On white

7.33
#525B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#525B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525B16
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525B16#FFFFFF#000000##FFFFFF
##525B161.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560A
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#58554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #525b16;
/* rgb */ color: rgb(82, 91, 22);
/* oklch */ color: oklch(44.9% 0.091 116.7);
Tailwind
colors: {
  custom: {
    50: '#858958',
    500: '#525b16',
    950: '#000000',
  },
}
SCSS
$custom: #525b16;
$custom-light: #858958;
$custom-dark: #000000;
JSON
{
  "hex": "#525b16",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 67.826,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.09104,
    "h": 116.7
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#525B16
secondary
#463B92
accent
#44E459
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #525B16

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

Preview Lab → · Contrast checker → · Palette generator →

#525B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva