#525810#525810

#525810 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.1% C 0.091 H 114.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#525810
RGBrgb(82, 88, 16)
HSLhsl(65, 69%, 20%)
HSVhsv(65, 82%, 35%)
CMYKcmyk(6.8%, 0%, 81.8%, 65.5%)
CIE-LABlab(35.62, -12.28, 37.87)
CIE-LCHlch(35.62, 39.81, 107.96°)
OKLaboklab(44.08% -0.0377 0.0831)
OKLCHoklch(44.08% 0.091 114.4)
XYZxyz(7.0631, 8.8108, 1.8187)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525810 #161058
analogous
#583A10 #525810 #2E5810
triadic
#525810 #105258 #581052
tetradic
#525810 #10583A #161058 #58102E
square
#525810 #10583A #161058 #58102E
split-complementary
#525810 #102E58 #3A1058
monochromatic
#181A05 #222407 #525810 #828C19 #B3C023

Accessibility & contrast

On white

7.60
#525810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#525810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525810
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525810#FFFFFF#000000##FFFFFF
##5258101.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#5F5416
Tritanopia (blue-blind)
#58524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #525810;
/* rgb */ color: rgb(82, 88, 16);
/* oklch */ color: oklch(44.1% 0.091 114.4);
Tailwind
colors: {
  custom: {
    50: '#858755',
    500: '#525810',
    950: '#000000',
  },
}
SCSS
$custom: #525810;
$custom-light: #858755;
$custom-dark: #000000;
JSON
{
  "hex": "#525810",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 65,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.09127,
    "h": 114.4
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#525810
secondary
#3A3291
accent
#3CEC4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525810

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

Preview Lab → · Contrast checker → · Palette generator →

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