#565B1C#565B1C

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

Color values

HEX#565B1C
RGBrgb(86, 91, 28)
HSLhsl(65, 53%, 23%)
HSVhsv(65, 69%, 36%)
CMYKcmyk(5.5%, 0%, 69.2%, 64.3%)
CIE-LABlab(37.01, -11.33, 34.33)
CIE-LCHlch(37.01, 36.15, 108.26°)
OKLaboklab(45.31% -0.034 0.0778)
OKLCHoklch(45.31% 0.085 113.6)
XYZxyz(7.7886, 9.5446, 2.5304)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B1C #211C5B
analogous
#5B401C #565B1C #365B1C
triadic
#565B1C #1C565B #5B1C56
tetradic
#565B1C #1C5B40 #211C5B #5B1C36
square
#565B1C #1C5B40 #211C5B #5B1C36
split-complementary
#565B1C #1C365B #401C5B
monochromatic
#161707 #2A2C0E #565B1C #828A2A #AEB939

Accessibility & contrast

On white

7.22
#565B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565B1C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B1C#FFFFFF#000000##FFFFFF
##565B1C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625614
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#5C554E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b1c;
/* rgb */ color: rgb(86, 91, 28);
/* oklch */ color: oklch(45.3% 0.085 113.6);
Tailwind
colors: {
  custom: {
    50: '#88895c',
    500: '#565b1c',
    950: '#000000',
  },
}
SCSS
$custom: #565b1c;
$custom-light: #88895c;
$custom-dark: #000000;
JSON
{
  "hex": "#565b1c",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 28
  },
  "hsl": {
    "h": 64.762,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4531,
    "c": 0.08489,
    "h": 113.6
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#565B1C
secondary
#494290
accent
#4BDC57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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