#565B2E#565B2E

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

Color values

HEX#565B2E
RGBrgb(86, 91, 46)
HSLhsl(67, 33%, 27%)
HSVhsv(67, 49%, 36%)
CMYKcmyk(5.5%, 0%, 49.5%, 64.3%)
CIE-LABlab(37.22, -9.62, 25.15)
CIE-LCHlch(37.22, 26.93, 110.94°)
OKLaboklab(45.55% -0.0271 0.0603)
OKLCHoklch(45.55% 0.066 114.3)
XYZxyz(8.0721, 9.6580, 4.0232)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B2E #332E5B
analogous
#5B4A2E #565B2E #405B2E
triadic
#565B2E #2E565B #5B2E56
tetradic
#565B2E #2E5B4A #332E5B #5B2E40
square
#565B2E #2E5B4A #332E5B #5B2E40
split-complementary
#565B2E #2E405B #4A2E5B
monochromatic
#13140A #303219 #565B2E #7C8443 #A2AB59

Accessibility & contrast

On white

7.16
#565B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565B2E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B2E#FFFFFF#000000##FFFFFF
##565B2E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61572A
Deuteranopia (green-blind)
#605830
Tritanopia (blue-blind)
#5B5650
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565b2e;
/* rgb */ color: rgb(86, 91, 46);
/* oklch */ color: oklch(45.5% 0.066 114.3);
Tailwind
colors: {
  custom: {
    50: '#878968',
    500: '#565b2e',
    950: '#000000',
  },
}
SCSS
$custom: #565b2e;
$custom-light: #878968;
$custom-dark: #000000;
JSON
{
  "hex": "#565b2e",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 66.667,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.06608,
    "h": 114.3
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#565B2E
secondary
#5E588D
accent
#5FC96B
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #565B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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