#525912#525912

#525912 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.3% C 0.091 H 115.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#525912
RGBrgb(82, 89, 18)
HSLhsl(66, 66%, 21%)
HSVhsv(66, 80%, 35%)
CMYKcmyk(7.9%, 0%, 79.8%, 65.1%)
CIE-LABlab(35.95, -12.74, 37.43)
CIE-LCHlch(35.95, 39.54, 108.80°)
OKLaboklab(44.35% -0.0388 0.0826)
OKLCHoklch(44.35% 0.091 115.2)
XYZxyz(7.1614, 8.9824, 1.9287)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525912 #191259
analogous
#593C12 #525912 #2E5912
triadic
#525912 #125259 #591252
tetradic
#525912 #12593C #191259 #59122E
square
#525912 #12593C #191259 #59122E
split-complementary
#525912 #122E59 #3C1259
monochromatic
#171905 #232608 #525912 #818C1C #B0BF27

Accessibility & contrast

On white

7.51
#525912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#525912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525912
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525912#FFFFFF#000000##FFFFFF
##5259121.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#58534B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525912;
/* rgb */ color: rgb(82, 89, 18);
/* oklch */ color: oklch(44.3% 0.091 115.2);
Tailwind
colors: {
  custom: {
    50: '#858756',
    500: '#525912',
    950: '#000000',
  },
}
SCSS
$custom: #525912;
$custom-light: #858756;
$custom-dark: #000000;
JSON
{
  "hex": "#525912",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 65.915,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.09125,
    "h": 115.2
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#525912
secondary
#3E3592
accent
#3FE94F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525912

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

Preview Lab → · Contrast checker → · Palette generator →

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