#565812#565812

#565812 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.5% C 0.089 H 111.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#565812
RGBrgb(86, 88, 18)
HSLhsl(62, 66%, 21%)
HSVhsv(62, 80%, 35%)
CMYKcmyk(2.3%, 0%, 79.5%, 65.5%)
CIE-LABlab(35.99, -10.23, 37.60)
CIE-LCHlch(35.99, 38.96, 105.22°)
OKLaboklab(44.47% -0.0321 0.0828)
OKLCHoklch(44.47% 0.089 111.2)
XYZxyz(7.4369, 9.0018, 1.9179)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565812 #141258
analogous
#583712 #565812 #335812
triadic
#565812 #125658 #581256
tetradic
#565812 #125837 #141258 #581233
square
#565812 #125837 #141258 #581233
split-complementary
#565812 #123358 #371258
monochromatic
#191905 #242508 #565812 #888B1C #B9BE27

Accessibility & contrast

On white

7.50
#565812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565812
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565812#FFFFFF#000000##FFFFFF
##5658121.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5404
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#5D524B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #565812;
/* rgb */ color: rgb(86, 88, 18);
/* oklch */ color: oklch(44.5% 0.089 111.2);
Tailwind
colors: {
  custom: {
    50: '#888656',
    500: '#565812',
    950: '#000000',
  },
}
SCSS
$custom: #565812;
$custom-light: #888656;
$custom-dark: #000000;
JSON
{
  "hex": "#565812",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 61.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.08878,
    "h": 111.2
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#565812
secondary
#383591
accent
#3FE944
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565812

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

Preview Lab → · Contrast checker → · Palette generator →

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