#565B2F#565B2F

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

Color values

HEX#565B2F
RGBrgb(86, 91, 47)
HSLhsl(67, 32%, 27%)
HSVhsv(67, 48%, 36%)
CMYKcmyk(5.5%, 0%, 48.4%, 64.3%)
CIE-LABlab(37.24, -9.51, 24.60)
CIE-LCHlch(37.24, 26.37, 111.13°)
OKLaboklab(45.56% -0.0267 0.0591)
OKLCHoklch(45.56% 0.065 114.3)
XYZxyz(8.0920, 9.6659, 4.1282)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B2F #342F5B
analogous
#5B4A2F #565B2F #405B2F
triadic
#565B2F #2F565B #5B2F56
tetradic
#565B2F #2F5B4A #342F5B #5B2F40
square
#565B2F #2F5B4A #342F5B #5B2F40
split-complementary
#565B2F #2F405B #4A2F5B
monochromatic
#13140A #30331A #565B2F #7C8344 #A1AA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##565B2F#FFFFFF#000000##FFFFFF
##565B2F1.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)
#61572B
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#5B5751
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565b2f;
/* rgb */ color: rgb(86, 91, 47);
/* oklch */ color: oklch(45.6% 0.065 114.3);
Tailwind
colors: {
  custom: {
    50: '#868968',
    500: '#565b2f',
    950: '#000000',
  },
}
SCSS
$custom: #565b2f;
$custom-light: #868968;
$custom-dark: #000000;
JSON
{
  "hex": "#565b2f",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 66.818,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.06487,
    "h": 114.3
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#565B2F
secondary
#5F598D
accent
#60C86C
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #565B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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