#565C18#565C18

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

Color values

HEX#565C18
RGBrgb(86, 92, 24)
HSLhsl(65, 59%, 23%)
HSVhsv(65, 74%, 36%)
CMYKcmyk(6.5%, 0%, 73.9%, 63.9%)
CIE-LABlab(37.30, -12.17, 36.42)
CIE-LCHlch(37.30, 38.39, 108.47°)
OKLaboklab(45.53% -0.0368 0.0815)
OKLCHoklch(45.53% 0.089 114.3)
XYZxyz(7.8300, 9.6988, 2.3236)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C18 #1E185C
analogous
#5C4018 #565C18 #345C18
triadic
#565C18 #18565C #5C1856
tetradic
#565C18 #185C40 #1E185C #5C1834
square
#565C18 #185C40 #1E185C #5C1834
split-complementary
#565C18 #18345C #40185C
monochromatic
#171806 #292B0B #565C18 #838D25 #B1BD31

Accessibility & contrast

On white

7.14
#565C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565C18
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C18#FFFFFF#000000##FFFFFF
##565C181.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#5C564F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c18;
/* rgb */ color: rgb(86, 92, 24);
/* oklch */ color: oklch(45.5% 0.089 114.3);
Tailwind
colors: {
  custom: {
    50: '#888a5a',
    500: '#565c18',
    950: '#000000',
  },
}
SCSS
$custom: #565c18;
$custom-light: #888a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#565c18",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 65.294,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.0894,
    "h": 114.3
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#565C18
secondary
#453D93
accent
#46E254
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565C18

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

Preview Lab → · Contrast checker → · Palette generator →

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