#565B28#565B28

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

Color values

HEX#565B28
RGBrgb(86, 91, 40)
HSLhsl(66, 39%, 26%)
HSVhsv(66, 56%, 36%)
CMYKcmyk(5.5%, 0%, 56%, 64.3%)
CIE-LABlab(37.14, -10.28, 28.38)
CIE-LCHlch(37.14, 30.18, 109.91°)
OKLaboklab(45.45% -0.0297 0.0668)
OKLCHoklch(45.45% 0.073 114)
XYZxyz(7.9620, 9.6139, 3.4433)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B28 #2D285B
analogous
#5B4628 #565B28 #3C5B28
triadic
#565B28 #28565B #5B2856
tetradic
#565B28 #285B46 #2D285B #5B283C
square
#565B28 #285B46 #2D285B #5B283C
split-complementary
#565B28 #283C5B #46285B
monochromatic
#141509 #2E3015 #565B28 #7E863B #A6B04D

Accessibility & contrast

On white

7.18
#565B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#565B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B28
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B28#FFFFFF#000000##FFFFFF
##565B281.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565b28;
/* rgb */ color: rgb(86, 91, 40);
/* oklch */ color: oklch(45.5% 0.073 114.0);
Tailwind
colors: {
  custom: {
    50: '#878964',
    500: '#565b28',
    950: '#000000',
  },
}
SCSS
$custom: #565b28;
$custom-light: #878964;
$custom-dark: #000000;
JSON
{
  "hex": "#565b28",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 65.882,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.07304,
    "h": 114
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#565B28
secondary
#57518E
accent
#59CF65
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #565B28

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

Preview Lab → · Contrast checker → · Palette generator →

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