#565112#565112

#565112 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.081 H 104.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#565112
RGBrgb(86, 81, 18)
HSLhsl(56, 65%, 20%)
HSVhsv(56, 79%, 34%)
CMYKcmyk(0%, 5.8%, 79.1%, 66.3%)
CIE-LABlab(33.79, -6.13, 35.51)
CIE-LCHlch(33.79, 36.04, 99.80°)
OKLaboklab(42.71% -0.0206 0.0784)
OKLCHoklch(42.71% 0.081 104.7)
XYZxyz(6.8897, 7.9072, 1.7355)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565112 #121756
analogous
#562F12 #565112 #395612
triadic
#565112 #125651 #511256
tetradic
#565112 #12562F #121756 #561239
square
#565112 #12562F #121756 #561239
split-complementary
#565112 #123956 #2F1256
monochromatic
#191805 #232107 #565112 #89811D #BBB027

Accessibility & contrast

On white

8.14
#565112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#565112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565112
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565112#FFFFFF#000000##FFFFFF
##5651121.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#5D4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #565112;
/* rgb */ color: rgb(86, 81, 18);
/* oklch */ color: oklch(42.7% 0.081 104.7);
Tailwind
colors: {
  custom: {
    50: '#888155',
    500: '#565112',
    950: '#000000',
  },
}
SCSS
$custom: #565112;
$custom-light: #888155;
$custom-dark: #000000;
JSON
{
  "hex": "#565112",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 55.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.08102,
    "h": 104.7
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#565112
secondary
#353C8F
accent
#4CE83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565112

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

Preview Lab → · Contrast checker → · Palette generator →

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