#525916#525916

#525916 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.088 H 115.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#525916
RGBrgb(82, 89, 22)
HSLhsl(66, 60%, 22%)
HSVhsv(66, 75%, 35%)
CMYKcmyk(7.9%, 0%, 75.3%, 65.1%)
CIE-LABlab(35.98, -12.51, 35.84)
CIE-LCHlch(35.98, 37.96, 109.24°)
OKLaboklab(44.38% -0.0377 0.08)
OKLCHoklch(44.38% 0.088 115.3)
XYZxyz(7.1971, 8.9966, 2.1163)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525916 #1D1659
analogous
#593F16 #525916 #315916
triadic
#525916 #165259 #591652
tetradic
#525916 #16593F #1D1659 #591631
square
#525916 #16593F #1D1659 #591631
split-complementary
#525916 #163159 #3F1659
monochromatic
#171906 #25280A #525916 #7F8A22 #ACBB2E

Accessibility & contrast

On white

7.50
#525916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#525916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525916
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525916#FFFFFF#000000##FFFFFF
##5259161.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540B
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#58534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525916;
/* rgb */ color: rgb(82, 89, 22);
/* oklch */ color: oklch(44.4% 0.088 115.3);
Tailwind
colors: {
  custom: {
    50: '#858758',
    500: '#525916',
    950: '#000000',
  },
}
SCSS
$custom: #525916;
$custom-light: #858758;
$custom-dark: #000000;
JSON
{
  "hex": "#525916",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 66.269,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44379,
    "c": 0.08847,
    "h": 115.3
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#525916
secondary
#443B90
accent
#44E455
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525916

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

Preview Lab → · Contrast checker → · Palette generator →

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