#565017#565017

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

Color values

HEX#565017
RGBrgb(86, 80, 23)
HSLhsl(54, 58%, 21%)
HSVhsv(54, 73%, 34%)
CMYKcmyk(0%, 7%, 73.3%, 66.3%)
CIE-LABlab(33.52, -5.24, 33.04)
CIE-LCHlch(33.52, 33.46, 99.01°)
OKLaboklab(42.51% -0.0175 0.0742)
OKLCHoklch(42.51% 0.076 103.3)
XYZxyz(6.8613, 7.7779, 1.9503)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565017 #171D56
analogous
#563117 #565017 #3D5617
triadic
#565017 #175650 #501756
tetradic
#565017 #175631 #171D56 #56173D
square
#565017 #175631 #171D56 #56173D
split-complementary
#565017 #173D56 #311756
monochromatic
#181606 #26230A #565017 #867D24 #B7AA31

Accessibility & contrast

On white

8.22
#565017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565017
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565017#FFFFFF#000000##FFFFFF
##5650171.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565017;
/* rgb */ color: rgb(86, 80, 23);
/* oklch */ color: oklch(42.5% 0.076 103.3);
Tailwind
colors: {
  custom: {
    50: '#888058',
    500: '#565017',
    950: '#000000',
  },
}
SCSS
$custom: #565017;
$custom-light: #888058;
$custom-dark: #000000;
JSON
{
  "hex": "#565017",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 54.286,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.07619,
    "h": 103.3
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#565017
secondary
#3C448D
accent
#55E147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565017

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

Preview Lab → · Contrast checker → · Palette generator →

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