#525017#525017

#525017 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.077 H 107.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#525017
RGBrgb(82, 80, 23)
HSLhsl(58, 56%, 21%)
HSVhsv(58, 72%, 32%)
CMYKcmyk(0%, 2.4%, 72%, 67.8%)
CIE-LABlab(33.12, -7.22, 32.51)
CIE-LCHlch(33.12, 33.31, 102.53°)
OKLaboklab(42.1% -0.0228 0.0732)
OKLCHoklch(42.1% 0.077 107.3)
XYZxyz(6.5032, 7.5932, 1.9335)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525017 #171952
analogous
#523217 #525017 #365217
triadic
#525017 #175250 #501752
tetradic
#525017 #175232 #171952 #521736
square
#525017 #175232 #171952 #521736
split-complementary
#525017 #173652 #321752
monochromatic
#181707 #22210A #525017 #827F24 #B2AD32

Accessibility & contrast

On white

8.34
#525017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#525017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525017
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525017#FFFFFF#000000##FFFFFF
##5250171.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#584A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #525017;
/* rgb */ color: rgb(82, 80, 23);
/* oklch */ color: oklch(42.1% 0.077 107.3);
Tailwind
colors: {
  custom: {
    50: '#858058',
    500: '#525017',
    950: '#000000',
  },
}
SCSS
$custom: #525017;
$custom-light: #858058;
$custom-dark: #000000;
JSON
{
  "hex": "#525017",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 57.966,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.07666,
    "h": 107.3
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#525017
secondary
#3C3E89
accent
#4DDF48
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525017

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

Preview Lab → · Contrast checker → · Palette generator →

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