#565C28#565C28

#565C28 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.7% C 0.074 H 114.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#565C28
RGBrgb(86, 92, 40)
HSLhsl(67, 39%, 26%)
HSVhsv(67, 57%, 36%)
CMYKcmyk(6.5%, 0%, 56.5%, 63.9%)
CIE-LABlab(37.46, -10.85, 28.74)
CIE-LCHlch(37.46, 30.72, 110.68°)
OKLaboklab(45.71% -0.0313 0.0676)
OKLCHoklch(45.71% 0.074 114.9)
XYZxyz(8.0480, 9.7860, 3.4720)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C28 #2E285C
analogous
#5C4828 #565C28 #3C5C28
triadic
#565C28 #28565C #5C2856
tetradic
#565C28 #285C48 #2E285C #5C283C
square
#565C28 #285C48 #2E285C #5C283C
split-complementary
#565C28 #283C5C #48285C
monochromatic
#141509 #2E3115 #565C28 #7E873B #A6B14D

Accessibility & contrast

On white

7.10
#565C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#565C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C28
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C28#FFFFFF#000000##FFFFFF
##565C281.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#5B5750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c28;
/* rgb */ color: rgb(86, 92, 40);
/* oklch */ color: oklch(45.7% 0.074 114.9);
Tailwind
colors: {
  custom: {
    50: '#878a64',
    500: '#565c28',
    950: '#000000',
  },
}
SCSS
$custom: #565c28;
$custom-light: #878a64;
$custom-dark: #000000;
JSON
{
  "hex": "#565c28",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 66.923,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.07445,
    "h": 114.9
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#565C28
secondary
#58518F
accent
#59CF66
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #565C28

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

Preview Lab → · Contrast checker → · Palette generator →

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