#525811#525811

#525811 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#525811
RGBrgb(82, 88, 17)
HSLhsl(65, 68%, 21%)
HSVhsv(65, 81%, 35%)
CMYKcmyk(6.8%, 0%, 80.7%, 65.5%)
CIE-LABlab(35.62, -12.23, 37.51)
CIE-LCHlch(35.62, 39.45, 108.06°)
OKLaboklab(44.08% -0.0375 0.0825)
OKLCHoklch(44.08% 0.091 114.4)
XYZxyz(7.0708, 8.8139, 1.8590)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525811 #171158
analogous
#583A11 #525811 #2E5811
triadic
#525811 #115258 #581152
tetradic
#525811 #11583A #171158 #58112E
square
#525811 #11583A #171158 #58112E
split-complementary
#525811 #112E58 #3A1158
monochromatic
#181A05 #222507 #525811 #828B1B #B2BF25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525811#FFFFFF#000000##FFFFFF
##5258111.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)
#5F5303
Deuteranopia (green-blind)
#5F5417
Tritanopia (blue-blind)
#58524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #525811;
/* rgb */ color: rgb(82, 88, 17);
/* oklch */ color: oklch(44.1% 0.091 114.4);
Tailwind
colors: {
  custom: {
    50: '#858756',
    500: '#525811',
    950: '#000000',
  },
}
SCSS
$custom: #525811;
$custom-light: #858756;
$custom-dark: #000000;
JSON
{
  "hex": "#525811",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 65.07,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.09065,
    "h": 114.4
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#525811
secondary
#3C3491
accent
#3DEA4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525811

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

Preview Lab → · Contrast checker → · Palette generator →

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