#565B2C#565B2C

#565B2C is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.068 H 114.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#565B2C
RGBrgb(86, 91, 44)
HSLhsl(66, 35%, 26%)
HSVhsv(66, 52%, 36%)
CMYKcmyk(5.5%, 0%, 51.6%, 64.3%)
CIE-LABlab(37.19, -9.85, 26.24)
CIE-LCHlch(37.19, 28.03, 110.58°)
OKLaboklab(45.51% -0.028 0.0625)
OKLCHoklch(45.51% 0.068 114.1)
XYZxyz(8.0336, 9.6426, 3.8204)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B2C #312C5B
analogous
#5B492C #565B2C #3F5B2C
triadic
#565B2C #2C565B #5B2C56
tetradic
#565B2C #2C5B49 #312C5B #5B2C3F
square
#565B2C #2C5B49 #312C5B #5B2C3F
split-complementary
#565B2C #2C3F5B #492C5B
monochromatic
#13150A #2F3218 #565B2C #7D8440 #A3AD55

Accessibility & contrast

On white

7.17
#565B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#565B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B2C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B2C#FFFFFF#000000##FFFFFF
##565B2C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615728
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#5B5650
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b2c;
/* rgb */ color: rgb(86, 91, 44);
/* oklch */ color: oklch(45.5% 0.068 114.1);
Tailwind
colors: {
  custom: {
    50: '#878966',
    500: '#565b2c',
    950: '#000000',
  },
}
SCSS
$custom: #565b2c;
$custom-light: #878966;
$custom-dark: #000000;
JSON
{
  "hex": "#565b2c",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 66.383,
    "s": 34.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.06847,
    "h": 114.1
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#565B2C
secondary
#5C568D
accent
#5DCB69
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #565B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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