#525218#525218

#525218 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.078 H 109.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#525218
RGBrgb(82, 82, 24)
HSLhsl(60, 55%, 21%)
HSVhsv(60, 71%, 32%)
CMYKcmyk(0%, 0%, 70.7%, 67.8%)
CIE-LABlab(33.76, -8.34, 32.71)
CIE-LCHlch(33.76, 33.75, 104.30°)
OKLaboklab(42.61% -0.0258 0.0738)
OKLCHoklch(42.61% 0.078 109.3)
XYZxyz(6.6621, 7.8946, 2.0368)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525218 #181852
analogous
#523518 #525218 #355218
triadic
#525218 #185252 #521852
tetradic
#525218 #185235 #181852 #521835
square
#525218 #185235 #181852 #521835
split-complementary
#525218 #183552 #351852
monochromatic
#181807 #23230A #525218 #818126 #B1B134

Accessibility & contrast

On white

8.14
#525218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#525218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525218
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525218#FFFFFF#000000##FFFFFF
##5252181.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#584D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525218;
/* rgb */ color: rgb(82, 82, 24);
/* oklch */ color: oklch(42.6% 0.078 109.3);
Tailwind
colors: {
  custom: {
    50: '#858258',
    500: '#525218',
    950: '#000000',
  },
}
SCSS
$custom: #525218;
$custom-light: #858258;
$custom-dark: #000000;
JSON
{
  "hex": "#525218",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42611,
    "c": 0.07816,
    "h": 109.3
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#525218
secondary
#3D3D89
accent
#4ADE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525218

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

Preview Lab → · Contrast checker → · Palette generator →

#525218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva