#565B18#565B18

#565B18 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.088 H 113.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#565B18
RGBrgb(86, 91, 24)
HSLhsl(64, 58%, 23%)
HSVhsv(64, 74%, 36%)
CMYKcmyk(5.5%, 0%, 73.6%, 64.3%)
CIE-LABlab(36.98, -11.60, 36.10)
CIE-LCHlch(36.98, 37.92, 107.81°)
OKLaboklab(45.27% -0.0352 0.0808)
OKLCHoklch(45.27% 0.088 113.6)
XYZxyz(7.7439, 9.5267, 2.2949)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B18 #1D185B
analogous
#5B3F18 #565B18 #345B18
triadic
#565B18 #18565B #5B1856
tetradic
#565B18 #185B3F #1D185B #5B1834
square
#565B18 #185B3F #1D185B #5B1834
split-complementary
#565B18 #18345B #3F185B
monochromatic
#171806 #282B0B #565B18 #848B25 #B2BC32

Accessibility & contrast

On white

7.23
#565B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#565B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B18
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B18#FFFFFF#000000##FFFFFF
##565B181.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560E
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#5C554E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b18;
/* rgb */ color: rgb(86, 91, 24);
/* oklch */ color: oklch(45.3% 0.088 113.6);
Tailwind
colors: {
  custom: {
    50: '#88895a',
    500: '#565b18',
    950: '#000000',
  },
}
SCSS
$custom: #565b18;
$custom-light: #88895a;
$custom-dark: #000000;
JSON
{
  "hex": "#565b18",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 64.478,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.08815,
    "h": 113.6
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#565B18
secondary
#443D92
accent
#46E152
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565B18

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

Preview Lab → · Contrast checker → · Palette generator →

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