#565D1F#565D1F

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

Color values

HEX#565D1F
RGBrgb(86, 93, 31)
HSLhsl(67, 50%, 24%)
HSVhsv(67, 67%, 36%)
CMYKcmyk(7.5%, 0%, 66.7%, 63.5%)
CIE-LABlab(37.67, -12.23, 33.60)
CIE-LCHlch(37.67, 35.76, 110.00°)
OKLaboklab(45.85% -0.0362 0.0767)
OKLCHoklch(45.85% 0.085 115.3)
XYZxyz(7.9996, 9.9062, 2.7867)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D1F #261F5D
analogous
#5D451F #565D1F #375D1F
triadic
#565D1F #1F565D #5D1F56
tetradic
#565D1F #1F5D45 #261F5D #5D1F37
square
#565D1F #1F5D45 #261F5D #5D1F37
split-complementary
#565D1F #1F375D #451F5D
monochromatic
#151708 #2C2F10 #565D1F #808B2E #ABB93E

Accessibility & contrast

On white

7.04
#565D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565D1F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565D1F#FFFFFF#000000##FFFFFF
##565D1F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645817
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#5C5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #565d1f;
/* rgb */ color: rgb(86, 93, 31);
/* oklch */ color: oklch(45.8% 0.085 115.3);
Tailwind
colors: {
  custom: {
    50: '#888a5e',
    500: '#565d1f',
    950: '#000000',
  },
}
SCSS
$custom: #565d1f;
$custom-light: #888a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#565d1f",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 66.774,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.08485,
    "h": 115.3
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#565D1F
secondary
#4F4692
accent
#4EDA5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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