#525A12#525A12

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

Color values

HEX#525A12
RGBrgb(82, 90, 18)
HSLhsl(67, 67%, 21%)
HSVhsv(67, 80%, 35%)
CMYKcmyk(8.9%, 0%, 80%, 64.7%)
CIE-LABlab(36.27, -13.31, 37.74)
CIE-LCHlch(36.27, 40.01, 109.42°)
OKLaboklab(44.61% -0.0404 0.0832)
OKLCHoklch(44.61% 0.093 115.9)
XYZxyz(7.2452, 9.1500, 1.9566)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525A12 #1A125A
analogous
#5A3E12 #525A12 #2E5A12
triadic
#525A12 #12525A #5A1252
tetradic
#525A12 #125A3E #1A125A #5A122E
square
#525A12 #125A3E #1A125A #5A122E
split-complementary
#525A12 #122E5A #3E125A
monochromatic
#171A05 #242708 #525A12 #808D1C #AFC026

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525A12#FFFFFF#000000##FFFFFF
##525A121.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)
#615504
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#58544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525a12;
/* rgb */ color: rgb(82, 90, 18);
/* oklch */ color: oklch(44.6% 0.092 115.9);
Tailwind
colors: {
  custom: {
    50: '#858856',
    500: '#525a12',
    950: '#000000',
  },
}
SCSS
$custom: #525a12;
$custom-light: #858856;
$custom-dark: #000000;
JSON
{
  "hex": "#525a12",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 66.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.0925,
    "h": 115.9
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#525A12
secondary
#403593
accent
#3EEA51
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525A12

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

Preview Lab → · Contrast checker → · Palette generator →

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