#565D1B#565D1B

#565D1B is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.088 H 115.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#565D1B
RGBrgb(86, 93, 27)
HSLhsl(66, 55%, 24%)
HSVhsv(66, 71%, 36%)
CMYKcmyk(7.5%, 0%, 71%, 63.5%)
CIE-LABlab(37.64, -12.53, 35.44)
CIE-LCHlch(37.64, 37.59, 109.47°)
OKLaboklab(45.81% -0.0375 0.0799)
OKLCHoklch(45.81% 0.088 115.1)
XYZxyz(7.9501, 9.8864, 2.5262)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D1B #221B5D
analogous
#5D431B #565D1B #355D1B
triadic
#565D1B #1B565D #5D1B56
tetradic
#565D1B #1B5D43 #221B5D #5D1B35
square
#565D1B #1B5D43 #221B5D #5D1B35
split-complementary
#565D1B #1B355D #431B5D
monochromatic
#161807 #2A2E0D #565D1B #828C29 #AEBC37

Accessibility & contrast

On white

7.05
#565D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#565D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565D1B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565D1B#FFFFFF#000000##FFFFFF
##565D1B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645812
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#5C5750
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #565d1b;
/* rgb */ color: rgb(86, 93, 27);
/* oklch */ color: oklch(45.8% 0.088 115.1);
Tailwind
colors: {
  custom: {
    50: '#888a5c',
    500: '#565d1b',
    950: '#000000',
  },
}
SCSS
$custom: #565d1b;
$custom-light: #888a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#565d1b",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 27
  },
  "hsl": {
    "h": 66.364,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45809,
    "c": 0.08831,
    "h": 115.1
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#565D1B
secondary
#4A4193
accent
#49DE59
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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