#525C2A#525C2A

#525C2A is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.4% C 0.074 H 118.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#525C2A
RGBrgb(82, 92, 42)
HSLhsl(72, 37%, 26%)
HSVhsv(72, 54%, 36%)
CMYKcmyk(10.9%, 0%, 54.3%, 63.9%)
CIE-LABlab(37.14, -12.48, 27.20)
CIE-LCHlch(37.14, 29.93, 114.65°)
OKLaboklab(45.38% -0.0354 0.0645)
OKLCHoklch(45.38% 0.074 118.8)
XYZxyz(7.7248, 9.6153, 3.6390)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525C2A #342A5C
analogous
#5C4D2A #525C2A #395C2A
triadic
#525C2A #2A525C #5C2A52
tetradic
#525C2A #2A5C4D #342A5C #5C2A39
square
#525C2A #2A5C4D #342A5C #5C2A39
split-complementary
#525C2A #2A395C #4D2A5C
monochromatic
#13150A #2D3217 #525C2A #77863D #9DB051

Accessibility & contrast

On white

7.18
#525C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#525C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525C2A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525C2A#FFFFFF#000000##FFFFFF
##525C2A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615725
Deuteranopia (green-blind)
#60582D
Tritanopia (blue-blind)
#565751
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #525c2a;
/* rgb */ color: rgb(82, 92, 42);
/* oklch */ color: oklch(45.4% 0.074 118.8);
Tailwind
colors: {
  custom: {
    50: '#848a65',
    500: '#525c2a',
    950: '#000000',
  },
}
SCSS
$custom: #525c2a;
$custom-light: #848a65;
$custom-dark: #000000;
JSON
{
  "hex": "#525c2a",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 72,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.07356,
    "h": 118.8
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#525C2A
secondary
#5F538E
accent
#5BCD71
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #525C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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