#565018#565018

#565018 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.075 H 103.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#565018
RGBrgb(86, 80, 24)
HSLhsl(54, 56%, 22%)
HSVhsv(54, 72%, 34%)
CMYKcmyk(0%, 7%, 72.1%, 66.3%)
CIE-LABlab(33.52, -5.17, 32.58)
CIE-LCHlch(33.52, 32.99, 99.02°)
OKLaboklab(42.52% -0.0172 0.0734)
OKLCHoklch(42.52% 0.075 103.2)
XYZxyz(6.8716, 7.7820, 2.0041)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565018 #181E56
analogous
#563118 #565018 #3D5618
triadic
#565018 #185650 #501856
tetradic
#565018 #185631 #181E56 #56183D
square
#565018 #185631 #181E56 #56183D
split-complementary
#565018 #183D56 #311856
monochromatic
#181607 #26230B #565018 #867D25 #B6A933

Accessibility & contrast

On white

8.21
#565018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#565018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565018
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565018#FFFFFF#000000##FFFFFF
##5650181.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#5D4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #565018;
/* rgb */ color: rgb(86, 80, 24);
/* oklch */ color: oklch(42.5% 0.075 103.2);
Tailwind
colors: {
  custom: {
    50: '#888058',
    500: '#565018',
    950: '#000000',
  },
}
SCSS
$custom: #565018;
$custom-light: #888058;
$custom-dark: #000000;
JSON
{
  "hex": "#565018",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 54.194,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.07536,
    "h": 103.2
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#565018
secondary
#3D458D
accent
#57E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565018

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

Preview Lab → · Contrast checker → · Palette generator →

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