#525C11#525C11

#525C11 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.1% C 0.096 H 117.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#525C11
RGBrgb(82, 92, 17)
HSLhsl(68, 69%, 21%)
HSVhsv(68, 82%, 36%)
CMYKcmyk(10.9%, 0%, 81.5%, 63.9%)
CIE-LABlab(36.91, -14.47, 38.70)
CIE-LCHlch(36.91, 41.32, 110.50°)
OKLaboklab(45.12% -0.0437 0.0851)
OKLCHoklch(45.12% 0.096 117.2)
XYZxyz(7.4082, 9.4887, 1.9714)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525C11 #1B115C
analogous
#5C4111 #525C11 #2D5C11
triadic
#525C11 #11525C #5C1152
tetradic
#525C11 #115C41 #1B115C #5C112D
square
#525C11 #115C41 #1B115C #5C112D
split-complementary
#525C11 #112D5C #41115C
monochromatic
#171A05 #242807 #525C11 #80901B #AEC324

Accessibility & contrast

On white

7.25
#525C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#525C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525C11
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525C11#FFFFFF#000000##FFFFFF
##525C111.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635701
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#58564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #525c11;
/* rgb */ color: rgb(82, 92, 17);
/* oklch */ color: oklch(45.1% 0.096 117.2);
Tailwind
colors: {
  custom: {
    50: '#858a56',
    500: '#525c11',
    950: '#000000',
  },
}
SCSS
$custom: #525c11;
$custom-light: #858a56;
$custom-dark: #000000;
JSON
{
  "hex": "#525c11",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 68,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.09565,
    "h": 117.2
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#525C11
secondary
#413495
accent
#3CEC54
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525C11

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

Preview Lab → · Contrast checker → · Palette generator →

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