#525D12#525D12

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

Color values

HEX#525D12
RGBrgb(82, 93, 18)
HSLhsl(69, 68%, 22%)
HSVhsv(69, 81%, 36%)
CMYKcmyk(11.8%, 0%, 80.6%, 63.5%)
CIE-LABlab(37.24, -14.98, 38.64)
CIE-LCHlch(37.24, 41.45, 111.18°)
OKLaboklab(45.38% -0.045 0.0852)
OKLCHoklch(45.38% 0.096 117.9)
XYZxyz(7.5034, 9.6663, 2.0427)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525D12 #1D125D
analogous
#5D4312 #525D12 #2D5D12
triadic
#525D12 #12525D #5D1252
tetradic
#525D12 #125D43 #1D125D #5D122D
square
#525D12 #125D43 #1D125D #5D122D
split-complementary
#525D12 #122D5D #43125D
monochromatic
#171A05 #252A08 #525D12 #7F901C #ACC426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525D12#FFFFFF#000000##FFFFFF
##525D121.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)
#645703
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#58574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525d12;
/* rgb */ color: rgb(82, 93, 18);
/* oklch */ color: oklch(45.4% 0.096 117.9);
Tailwind
colors: {
  custom: {
    50: '#858a57',
    500: '#525d12',
    950: '#000000',
  },
}
SCSS
$custom: #525d12;
$custom-light: #858a57;
$custom-dark: #000000;
JSON
{
  "hex": "#525d12",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 68.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.0963,
    "h": 117.9
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#525D12
secondary
#443595
accent
#3DEA57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525D12

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

Preview Lab → · Contrast checker → · Palette generator →

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