#565D18#565D18

#565D18 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.091 H 115.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#565D18
RGBrgb(86, 93, 24)
HSLhsl(66, 59%, 23%)
HSVhsv(66, 74%, 36%)
CMYKcmyk(7.5%, 0%, 74.2%, 63.5%)
CIE-LABlab(37.61, -12.73, 36.73)
CIE-LCHlch(37.61, 38.88, 109.11°)
OKLaboklab(45.78% -0.0384 0.0821)
OKLCHoklch(45.78% 0.091 115.1)
XYZxyz(7.9172, 9.8732, 2.3526)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D18 #1F185D
analogous
#5D4118 #565D18 #335D18
triadic
#565D18 #18565D #5D1856
tetradic
#565D18 #185D41 #1F185D #5D1833
square
#565D18 #185D41 #1F185D #5D1833
split-complementary
#565D18 #18335D #41185D
monochromatic
#161806 #292C0B #565D18 #838E25 #B0BE31

Accessibility & contrast

On white

7.06
#565D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#565D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565D18
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565D18#FFFFFF#000000##FFFFFF
##565D181.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#5C574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565d18;
/* rgb */ color: rgb(86, 93, 24);
/* oklch */ color: oklch(45.8% 0.091 115.1);
Tailwind
colors: {
  custom: {
    50: '#888a5a',
    500: '#565d18',
    950: '#000000',
  },
}
SCSS
$custom: #565d18;
$custom-light: #888a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#565d18",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 66.087,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.09067,
    "h": 115.1
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#565D18
secondary
#463D93
accent
#46E256
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565D18

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

Preview Lab → · Contrast checker → · Palette generator →

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