#525B11#525B11

#525B11 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.094 H 116.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#525B11
RGBrgb(82, 91, 17)
HSLhsl(67, 69%, 21%)
HSVhsv(67, 81%, 36%)
CMYKcmyk(9.9%, 0%, 81.3%, 64.3%)
CIE-LABlab(36.59, -13.92, 38.41)
CIE-LCHlch(36.59, 40.85, 109.92°)
OKLaboklab(44.86% -0.0422 0.0845)
OKLCHoklch(44.86% 0.094 116.5)
XYZxyz(7.3221, 9.3166, 1.9428)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525B11 #1A115B
analogous
#5B3F11 #525B11 #2D5B11
triadic
#525B11 #11525B #5B1152
tetradic
#525B11 #115B3F #1A115B #5B112D
square
#525B11 #115B3F #1A115B #5B112D
split-complementary
#525B11 #112D5B #3F115B
monochromatic
#171A05 #242707 #525B11 #808F1B #AFC224

Accessibility & contrast

On white

7.33
#525B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#525B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525B11
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525B11#FFFFFF#000000##FFFFFF
##525B111.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#615718
Tritanopia (blue-blind)
#58554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #525b11;
/* rgb */ color: rgb(82, 91, 17);
/* oklch */ color: oklch(44.9% 0.094 116.5);
Tailwind
colors: {
  custom: {
    50: '#858956',
    500: '#525b11',
    950: '#000000',
  },
}
SCSS
$custom: #525b11;
$custom-light: #858956;
$custom-dark: #000000;
JSON
{
  "hex": "#525b11",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 67.297,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.09439,
    "h": 116.5
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#525B11
secondary
#403494
accent
#3CEB52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525B11

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

Preview Lab → · Contrast checker → · Palette generator →

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