#565212#565212

#565212 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.082 H 105.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#565212
RGBrgb(86, 82, 18)
HSLhsl(56, 65%, 20%)
HSVhsv(56, 79%, 34%)
CMYKcmyk(0%, 4.7%, 79.1%, 66.3%)
CIE-LABlab(34.10, -6.73, 35.81)
CIE-LCHlch(34.10, 36.44, 100.64°)
OKLaboklab(42.96% -0.0223 0.079)
OKLCHoklch(42.96% 0.082 105.7)
XYZxyz(6.9645, 8.0570, 1.7604)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565212 #121656
analogous
#563012 #565212 #385612
triadic
#565212 #125652 #521256
tetradic
#565212 #125630 #121656 #561238
square
#565212 #125630 #121656 #561238
split-complementary
#565212 #123856 #301256
monochromatic
#191805 #232207 #565212 #89821D #BBB327

Accessibility & contrast

On white

8.04
#565212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#565212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565212
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565212#FFFFFF#000000##FFFFFF
##5652121.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565212;
/* rgb */ color: rgb(86, 82, 18);
/* oklch */ color: oklch(43.0% 0.082 105.7);
Tailwind
colors: {
  custom: {
    50: '#888255',
    500: '#565212',
    950: '#000000',
  },
}
SCSS
$custom: #565212;
$custom-light: #888255;
$custom-dark: #000000;
JSON
{
  "hex": "#565212",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 56.471,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.08207,
    "h": 105.7
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#565212
secondary
#353A8F
accent
#49E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565212

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

Preview Lab → · Contrast checker → · Palette generator →

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