#525312#525312

#525312 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.084 H 110.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#525312
RGBrgb(82, 83, 18)
HSLhsl(61, 64%, 20%)
HSVhsv(61, 78%, 33%)
CMYKcmyk(1.2%, 0%, 78.3%, 67.5%)
CIE-LABlab(34.03, -9.30, 35.61)
CIE-LCHlch(34.03, 36.80, 104.63°)
OKLaboklab(42.81% -0.0292 0.0787)
OKLCHoklch(42.81% 0.084 110.4)
XYZxyz(6.6823, 8.0242, 1.7690)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525312 #131253
analogous
#533412 #525312 #325312
triadic
#525312 #125253 #531252
tetradic
#525312 #125334 #131253 #531232
square
#525312 #125334 #131253 #531232
split-complementary
#525312 #123253 #341253
monochromatic
#191905 #202107 #525312 #84851D #B5B828

Accessibility & contrast

On white

8.06
#525312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#525312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525312
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525312#FFFFFF#000000##FFFFFF
##5253121.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#584D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #525312;
/* rgb */ color: rgb(82, 83, 18);
/* oklch */ color: oklch(42.8% 0.084 110.4);
Tailwind
colors: {
  custom: {
    50: '#858355',
    500: '#525312',
    950: '#000000',
  },
}
SCSS
$custom: #525312;
$custom-light: #858355;
$custom-dark: #000000;
JSON
{
  "hex": "#525312",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 60.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.08399,
    "h": 110.4
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#525312
secondary
#36358C
accent
#40E743
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525312

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

Preview Lab → · Contrast checker → · Palette generator →

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