#525511#525511

#525511 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.087 H 112.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#525511
RGBrgb(82, 85, 17)
HSLhsl(63, 67%, 20%)
HSVhsv(63, 80%, 33%)
CMYKcmyk(3.5%, 0%, 80%, 66.7%)
CIE-LABlab(34.66, -10.51, 36.61)
CIE-LCHlch(34.66, 38.08, 106.02°)
OKLaboklab(43.32% -0.0327 0.0806)
OKLCHoklch(43.32% 0.087 112.1)
XYZxyz(6.8296, 8.3315, 1.7786)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525511 #141155
analogous
#553611 #525511 #305511
triadic
#525511 #115255 #551152
tetradic
#525511 #115536 #141155 #551130
square
#525511 #115536 #141155 #551130
split-complementary
#525511 #113055 #361155
monochromatic
#191A05 #212207 #525511 #83881B #B4BB25

Accessibility & contrast

On white

7.88
#525511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#525511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525511
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525511#FFFFFF#000000##FFFFFF
##5255111.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5104
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#584F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #525511;
/* rgb */ color: rgb(82, 85, 17);
/* oklch */ color: oklch(43.3% 0.087 112.1);
Tailwind
colors: {
  custom: {
    50: '#858455',
    500: '#525511',
    950: '#000000',
  },
}
SCSS
$custom: #525511;
$custom-light: #858455;
$custom-dark: #000000;
JSON
{
  "hex": "#525511",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 62.647,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.08702,
    "h": 112.1
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#525511
secondary
#38348E
accent
#3EEA46
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525511

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

Preview Lab → · Contrast checker → · Palette generator →

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