#525010#525010

#525010 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.082 H 107.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#525010
RGBrgb(82, 80, 16)
HSLhsl(58, 67%, 19%)
HSVhsv(58, 80%, 32%)
CMYKcmyk(0%, 2.4%, 80.5%, 67.8%)
CIE-LABlab(33.07, -7.64, 35.49)
CIE-LCHlch(33.07, 36.31, 102.15°)
OKLaboklab(42.04% -0.0248 0.0781)
OKLCHoklch(42.04% 0.082 107.6)
XYZxyz(6.4421, 7.5688, 1.6117)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525010 #101252
analogous
#522F10 #525010 #335210
triadic
#525010 #105250 #501052
tetradic
#525010 #10522F #101252 #521033
square
#525010 #10522F #101252 #521033
split-complementary
#525010 #103352 #2F1052
monochromatic
#1A1905 #1F1E06 #525010 #85821A #B8B424

Accessibility & contrast

On white

8.35
#525010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#525010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525010
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525010#FFFFFF#000000##FFFFFF
##5250101.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D04
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#594A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #525010;
/* rgb */ color: rgb(82, 80, 16);
/* oklch */ color: oklch(42.0% 0.082 107.6);
Tailwind
colors: {
  custom: {
    50: '#858054',
    500: '#525010',
    950: '#000000',
  },
}
SCSS
$custom: #525010;
$custom-light: #858054;
$custom-dark: #000000;
JSON
{
  "hex": "#525010",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 58.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.08191,
    "h": 107.6
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#525010
secondary
#32358C
accent
#43EA3E
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525010

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

Preview Lab → · Contrast checker → · Palette generator →

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