#565A17#565A17

#565A17 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.088 H 112.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#565A17
RGBrgb(86, 90, 23)
HSLhsl(64, 59%, 22%)
HSVhsv(64, 74%, 35%)
CMYKcmyk(4.4%, 0%, 74.4%, 64.7%)
CIE-LABlab(36.65, -11.09, 36.21)
CIE-LCHlch(36.65, 37.87, 107.03°)
OKLaboklab(45.01% -0.0339 0.0808)
OKLCHoklch(45.01% 0.088 112.8)
XYZxyz(7.6488, 9.3528, 2.2128)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A17 #1B175A
analogous
#5A3D17 #565A17 #355A17
triadic
#565A17 #17565A #5A1756
tetradic
#565A17 #175A3D #1B175A #5A1735
square
#565A17 #175A3D #1B175A #5A1735
split-complementary
#565A17 #17355A #3D175A
monochromatic
#171806 #27290B #565A17 #858B23 #B3BB30

Accessibility & contrast

On white

7.32
#565A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#565A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A17
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A17#FFFFFF#000000##FFFFFF
##565A171.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#5C544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a17;
/* rgb */ color: rgb(86, 90, 23);
/* oklch */ color: oklch(45.0% 0.088 112.8);
Tailwind
colors: {
  custom: {
    50: '#888859',
    500: '#565a17',
    950: '#000000',
  },
}
SCSS
$custom: #565a17;
$custom-light: #888859;
$custom-dark: #000000;
JSON
{
  "hex": "#565a17",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 63.582,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.08767,
    "h": 112.8
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#565A17
secondary
#413C91
accent
#45E24F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565A17

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

Preview Lab → · Contrast checker → · Palette generator →

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