#525412#525412

#525412 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.085 H 111.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#525412
RGBrgb(82, 84, 18)
HSLhsl(62, 65%, 20%)
HSVhsv(62, 79%, 33%)
CMYKcmyk(2.4%, 0%, 78.6%, 67.1%)
CIE-LABlab(34.35, -9.88, 35.91)
CIE-LCHlch(34.35, 37.25, 105.38°)
OKLaboklab(43.07% -0.0308 0.0794)
OKLCHoklch(43.07% 0.085 111.2)
XYZxyz(6.7594, 8.1783, 1.7947)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525412 #141254
analogous
#543512 #525412 #315412
triadic
#525412 #125254 #541252
tetradic
#525412 #125435 #141254 #541231
square
#525412 #125435 #141254 #541231
split-complementary
#525412 #123154 #351254
monochromatic
#191905 #212207 #525412 #83861D #B4B928

Accessibility & contrast

On white

7.97
#525412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#525412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525412
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525412#FFFFFF#000000##FFFFFF
##5254121.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#584E47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #525412;
/* rgb */ color: rgb(82, 84, 18);
/* oklch */ color: oklch(43.1% 0.085 111.2);
Tailwind
colors: {
  custom: {
    50: '#858355',
    500: '#525412',
    950: '#000000',
  },
}
SCSS
$custom: #525412;
$custom-light: #858355;
$custom-dark: #000000;
JSON
{
  "hex": "#525412",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 61.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.08516,
    "h": 111.2
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#525412
secondary
#38358D
accent
#40E845
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525412

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

Preview Lab → · Contrast checker → · Palette generator →

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