#565118#565118

#565118 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.076 H 104.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#565118
RGBrgb(86, 81, 24)
HSLhsl(55, 56%, 22%)
HSVhsv(55, 72%, 34%)
CMYKcmyk(0%, 5.8%, 72.1%, 66.3%)
CIE-LABlab(33.84, -5.77, 32.90)
CIE-LCHlch(33.84, 33.40, 99.95°)
OKLaboklab(42.76% -0.0189 0.0741)
OKLCHoklch(42.76% 0.076 104.3)
XYZxyz(6.9453, 7.9295, 2.0287)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565118 #181D56
analogous
#563218 #565118 #3C5618
triadic
#565118 #185651 #511856
tetradic
#565118 #185632 #181D56 #56183C
square
#565118 #185632 #181D56 #56183C
split-complementary
#565118 #183C56 #321856
monochromatic
#181707 #26240B #565118 #867E25 #B6AB33

Accessibility & contrast

On white

8.12
#565118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#565118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565118
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565118#FFFFFF#000000##FFFFFF
##5651181.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#5D4B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #565118;
/* rgb */ color: rgb(86, 81, 24);
/* oklch */ color: oklch(42.8% 0.076 104.3);
Tailwind
colors: {
  custom: {
    50: '#888158',
    500: '#565118',
    950: '#000000',
  },
}
SCSS
$custom: #565118;
$custom-light: #888158;
$custom-dark: #000000;
JSON
{
  "hex": "#565118",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 55.161,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.07643,
    "h": 104.3
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#565118
secondary
#3D448D
accent
#54E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565118

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

Preview Lab → · Contrast checker → · Palette generator →

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