#525D16#525D16

#525D16 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.4% C 0.094 H 118.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#525D16
RGBrgb(82, 93, 22)
HSLhsl(69, 62%, 23%)
HSVhsv(69, 76%, 36%)
CMYKcmyk(11.8%, 0%, 76.3%, 63.5%)
CIE-LABlab(37.26, -14.75, 37.11)
CIE-LCHlch(37.26, 39.93, 111.68°)
OKLaboklab(45.41% -0.044 0.0827)
OKLCHoklch(45.41% 0.094 118)
XYZxyz(7.5390, 9.6805, 2.2303)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525D16 #21165D
analogous
#5D4516 #525D16 #2E5D16
triadic
#525D16 #16525D #5D1652
tetradic
#525D16 #165D45 #21165D #5D162E
square
#525D16 #165D45 #21165D #5D162E
split-complementary
#525D16 #162E5D #45165D
monochromatic
#161906 #262C0A #525D16 #7E8E22 #A9C02D

Accessibility & contrast

On white

7.15
#525D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#525D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525D16
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525D16#FFFFFF#000000##FFFFFF
##525D161.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#57584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525d16;
/* rgb */ color: rgb(82, 93, 22);
/* oklch */ color: oklch(45.4% 0.094 118.0);
Tailwind
colors: {
  custom: {
    50: '#858a59',
    500: '#525d16',
    950: '#000000',
  },
}
SCSS
$custom: #525d16;
$custom-light: #858a59;
$custom-dark: #000000;
JSON
{
  "hex": "#525d16",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 69.296,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.09364,
    "h": 118
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#525D16
secondary
#493B94
accent
#43E55C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #525D16

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

Preview Lab → · Contrast checker → · Palette generator →

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