#525D19#525D19

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

Color values

HEX#525D19
RGBrgb(82, 93, 25)
HSLhsl(70, 58%, 23%)
HSVhsv(70, 73%, 36%)
CMYKcmyk(11.8%, 0%, 73.1%, 63.5%)
CIE-LABlab(37.29, -14.56, 35.86)
CIE-LCHlch(37.29, 38.70, 112.10°)
OKLaboklab(45.44% -0.0431 0.0806)
OKLCHoklch(45.44% 0.091 118.1)
XYZxyz(7.5696, 9.6928, 2.3916)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525D19 #24195D
analogous
#5D4619 #525D19 #305D19
triadic
#525D19 #19525D #5D1952
tetradic
#525D19 #195D46 #24195D #5D1930
square
#525D19 #195D46 #24195D #5D1930
split-complementary
#525D19 #19305D #46195D
monochromatic
#151806 #272D0C #525D19 #7D8D26 #A7BD33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525D19#FFFFFF#000000##FFFFFF
##525D191.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)
#63580F
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#57584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525d19;
/* rgb */ color: rgb(82, 93, 25);
/* oklch */ color: oklch(45.4% 0.091 118.1);
Tailwind
colors: {
  custom: {
    50: '#858a5a',
    500: '#525d19',
    950: '#000000',
  },
}
SCSS
$custom: #525d19;
$custom-light: #858a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#525d19",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 69.706,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.09141,
    "h": 118.1
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#525D19
secondary
#4C3F93
accent
#47E160
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #525D19

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

Preview Lab → · Contrast checker → · Palette generator →

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