#525921#525921

#525921 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.5% C 0.079 H 115.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#525921
RGBrgb(82, 89, 33)
HSLhsl(68, 46%, 24%)
HSVhsv(68, 63%, 35%)
CMYKcmyk(7.9%, 0%, 62.9%, 65.1%)
CIE-LABlab(36.08, -11.68, 30.76)
CIE-LCHlch(36.08, 32.90, 110.79°)
OKLaboklab(44.49% -0.0342 0.0711)
OKLCHoklch(44.49% 0.079 115.7)
XYZxyz(7.3267, 9.0485, 2.7991)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525921 #282159
analogous
#594421 #525921 #365921
triadic
#525921 #215259 #592152
tetradic
#525921 #215944 #282159 #592136
square
#525921 #215944 #282159 #592136
split-complementary
#525921 #213659 #442159
monochromatic
#151608 #292C10 #525921 #7B8632 #A4B242

Accessibility & contrast

On white

7.47
#525921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#525921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525921
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525921#FFFFFF#000000##FFFFFF
##5259211.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541B
Deuteranopia (green-blind)
#5F5524
Tritanopia (blue-blind)
#57544D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525921;
/* rgb */ color: rgb(82, 89, 33);
/* oklch */ color: oklch(44.5% 0.079 115.7);
Tailwind
colors: {
  custom: {
    50: '#84875f',
    500: '#525921',
    950: '#000000',
  },
}
SCSS
$custom: #525921;
$custom-light: #84875f;
$custom-dark: #000000;
JSON
{
  "hex": "#525921",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 33
  },
  "hsl": {
    "h": 67.5,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.07887,
    "h": 115.7
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#525921
secondary
#51498D
accent
#52D663
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #525921

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

Preview Lab → · Contrast checker → · Palette generator →

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