#565C2F#565C2F

#565C2F is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.8% C 0.066 H 115.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#565C2F
RGBrgb(86, 92, 47)
HSLhsl(68, 32%, 27%)
HSVhsv(68, 49%, 36%)
CMYKcmyk(6.5%, 0%, 48.9%, 63.9%)
CIE-LABlab(37.55, -10.08, 24.98)
CIE-LCHlch(37.55, 26.94, 111.98°)
OKLaboklab(45.81% -0.0284 0.06)
OKLCHoklch(45.81% 0.066 115.3)
XYZxyz(8.1781, 9.8381, 4.1569)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C2F #352F5C
analogous
#5C4C2F #565C2F #405C2F
triadic
#565C2F #2F565C #5C2F56
tetradic
#565C2F #2F5C4C #352F5C #5C2F40
square
#565C2F #2F5C4C #352F5C #5C2F40
split-complementary
#565C2F #2F405C #4C2F5C
monochromatic
#13140A #30331A #565C2F #7C8544 #A0AB5A

Accessibility & contrast

On white

7.08
#565C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#565C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C2F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C2F#FFFFFF#000000##FFFFFF
##565C2F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582B
Deuteranopia (green-blind)
#615931
Tritanopia (blue-blind)
#5B5851
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c2f;
/* rgb */ color: rgb(86, 92, 47);
/* oklch */ color: oklch(45.8% 0.066 115.3);
Tailwind
colors: {
  custom: {
    50: '#878a68',
    500: '#565c2f',
    950: '#000000',
  },
}
SCSS
$custom: #565c2f;
$custom-light: #878a68;
$custom-dark: #000000;
JSON
{
  "hex": "#565c2f",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 68,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.06634,
    "h": 115.3
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#565C2F
secondary
#60598E
accent
#5FC96D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #565C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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