#525A10#525A10

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

Color values

HEX#525A10
RGBrgb(82, 90, 16)
HSLhsl(66, 70%, 21%)
HSVhsv(66, 82%, 35%)
CMYKcmyk(8.9%, 0%, 82.2%, 64.7%)
CIE-LABlab(36.26, -13.41, 38.46)
CIE-LCHlch(36.26, 40.73, 109.22°)
OKLaboklab(44.59% -0.0408 0.0844)
OKLCHoklch(44.59% 0.094 115.8)
XYZxyz(7.2296, 9.1437, 1.8742)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525A10 #18105A
analogous
#5A3D10 #525A10 #2D5A10
triadic
#525A10 #10525A #5A1052
tetradic
#525A10 #105A3D #18105A #5A102D
square
#525A10 #105A3D #18105A #5A102D
split-complementary
#525A10 #102D5A #3D105A
monochromatic
#181A05 #232607 #525A10 #818E19 #B1C222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525A10#FFFFFF#000000##FFFFFF
##525A101.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)
#615501
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#58544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525a10;
/* rgb */ color: rgb(82, 90, 16);
/* oklch */ color: oklch(44.6% 0.094 115.8);
Tailwind
colors: {
  custom: {
    50: '#858855',
    500: '#525a10',
    950: '#000000',
  },
}
SCSS
$custom: #525a10;
$custom-light: #858855;
$custom-dark: #000000;
JSON
{
  "hex": "#525a10",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 66.486,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.09373,
    "h": 115.8
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#525A10
secondary
#3D3393
accent
#3BED4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525A10

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

Preview Lab → · Contrast checker → · Palette generator →

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