#525D11#525D11

#525D11 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.4% C 0.097 H 117.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#525D11
RGBrgb(82, 93, 17)
HSLhsl(69, 69%, 22%)
HSVhsv(69, 82%, 36%)
CMYKcmyk(11.8%, 0%, 81.7%, 63.5%)
CIE-LABlab(37.23, -15.03, 39.00)
CIE-LCHlch(37.23, 41.80, 111.07°)
OKLaboklab(45.38% -0.0452 0.0857)
OKLCHoklch(45.38% 0.097 117.8)
XYZxyz(7.4954, 9.6631, 2.0005)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525D11 #1C115D
analogous
#5D4211 #525D11 #2C5D11
triadic
#525D11 #11525D #5D1152
tetradic
#525D11 #115D42 #1C115D #5D112C
square
#525D11 #115D42 #1C115D #5D112C
split-complementary
#525D11 #112C5D #42115D
monochromatic
#171A05 #242908 #525D11 #80911A #ADC424

Accessibility & contrast

On white

7.16
#525D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#525D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525D11
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525D11#FFFFFF#000000##FFFFFF
##525D111.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#58574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525d11;
/* rgb */ color: rgb(82, 93, 17);
/* oklch */ color: oklch(45.4% 0.097 117.8);
Tailwind
colors: {
  custom: {
    50: '#858a56',
    500: '#525d11',
    950: '#000000',
  },
}
SCSS
$custom: #525d11;
$custom-light: #858a56;
$custom-dark: #000000;
JSON
{
  "hex": "#525d11",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 68.684,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.09691,
    "h": 117.8
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#525D11
secondary
#423496
accent
#3CEC55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525D11

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

Preview Lab → · Contrast checker → · Palette generator →

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