#525A11#525A11

#525A11 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.093 H 115.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#525A11
RGBrgb(82, 90, 17)
HSLhsl(67, 68%, 21%)
HSVhsv(67, 81%, 35%)
CMYKcmyk(8.9%, 0%, 81.1%, 64.7%)
CIE-LABlab(36.27, -13.36, 38.11)
CIE-LCHlch(36.27, 40.38, 109.32°)
OKLaboklab(44.6% -0.0406 0.0838)
OKLCHoklch(44.6% 0.093 115.9)
XYZxyz(7.2372, 9.1468, 1.9145)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525A11 #19115A
analogous
#5A3D11 #525A11 #2D5A11
triadic
#525A11 #11525A #5A1152
tetradic
#525A11 #115A3D #19115A #5A112D
square
#525A11 #115A3D #19115A #5A112D
split-complementary
#525A11 #112D5A #3D115A
monochromatic
#171A05 #232707 #525A11 #818D1B #B0C124

Accessibility & contrast

On white

7.42
#525A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#525A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525A11
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525A11#FFFFFF#000000##FFFFFF
##525A111.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#58544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525a11;
/* rgb */ color: rgb(82, 90, 17);
/* oklch */ color: oklch(44.6% 0.093 115.9);
Tailwind
colors: {
  custom: {
    50: '#858856',
    500: '#525a11',
    950: '#000000',
  },
}
SCSS
$custom: #525a11;
$custom-light: #858856;
$custom-dark: #000000;
JSON
{
  "hex": "#525a11",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 66.575,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.09313,
    "h": 115.9
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#525A11
secondary
#3E3493
accent
#3DEB50
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525A11

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

Preview Lab → · Contrast checker → · Palette generator →

#525A11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva