#565C17#565C17

#565C17 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.090 H 114.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#565C17
RGBrgb(86, 92, 23)
HSLhsl(65, 60%, 23%)
HSVhsv(65, 75%, 36%)
CMYKcmyk(6.5%, 0%, 75%, 63.9%)
CIE-LABlab(37.29, -12.23, 36.83)
CIE-LCHlch(37.29, 38.81, 108.37°)
OKLaboklab(45.52% -0.0371 0.0822)
OKLCHoklch(45.52% 0.09 114.3)
XYZxyz(7.8198, 9.6947, 2.2698)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C17 #1D175C
analogous
#5C3F17 #565C17 #345C17
triadic
#565C17 #17565C #5C1756
tetradic
#565C17 #175C3F #1D175C #5C1734
square
#565C17 #175C3F #1D175C #5C1734
split-complementary
#565C17 #17345C #3F175C
monochromatic
#171806 #282B0B #565C17 #848D23 #B2BE2F

Accessibility & contrast

On white

7.15
#565C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#565C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C17
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C17#FFFFFF#000000##FFFFFF
##565C171.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#5C564E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c17;
/* rgb */ color: rgb(86, 92, 23);
/* oklch */ color: oklch(45.5% 0.090 114.3);
Tailwind
colors: {
  custom: {
    50: '#888a59',
    500: '#565c17',
    950: '#000000',
  },
}
SCSS
$custom: #565c17;
$custom-light: #888a59;
$custom-dark: #000000;
JSON
{
  "hex": "#565c17",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 65.217,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.09016,
    "h": 114.3
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#565C17
secondary
#443C93
accent
#45E352
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565C17

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

Preview Lab → · Contrast checker → · Palette generator →

#565C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva