#525917#525917

#525917 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#525917
RGBrgb(82, 89, 23)
HSLhsl(66, 59%, 22%)
HSVhsv(66, 74%, 35%)
CMYKcmyk(7.9%, 0%, 74.2%, 65.1%)
CIE-LABlab(35.99, -12.45, 35.42)
CIE-LCHlch(35.99, 37.54, 109.36°)
OKLaboklab(44.39% -0.0375 0.0793)
OKLCHoklch(44.39% 0.088 115.3)
XYZxyz(7.2069, 9.0006, 2.1681)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525917 #1E1759
analogous
#593F17 #525917 #315917
triadic
#525917 #175259 #591752
tetradic
#525917 #17593F #1E1759 #591731
square
#525917 #17593F #1E1759 #591731
split-complementary
#525917 #173159 #3F1759
monochromatic
#161806 #25280A #525917 #7F8A24 #ACBA30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525917#FFFFFF#000000##FFFFFF
##5259171.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)
#60540D
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#58544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525917;
/* rgb */ color: rgb(82, 89, 23);
/* oklch */ color: oklch(44.4% 0.088 115.3);
Tailwind
colors: {
  custom: {
    50: '#858759',
    500: '#525917',
    950: '#000000',
  },
}
SCSS
$custom: #525917;
$custom-light: #858759;
$custom-dark: #000000;
JSON
{
  "hex": "#525917",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 66.364,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.08772,
    "h": 115.3
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#525917
secondary
#453C90
accent
#46E256
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #525917

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

Preview Lab → · Contrast checker → · Palette generator →

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