#565B1F#565B1F

#565B1F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.082 H 113.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#565B1F
RGBrgb(86, 91, 31)
HSLhsl(65, 49%, 24%)
HSVhsv(65, 66%, 36%)
CMYKcmyk(5.5%, 0%, 65.9%, 64.3%)
CIE-LABlab(37.04, -11.10, 32.92)
CIE-LCHlch(37.04, 34.74, 108.63°)
OKLaboklab(45.34% -0.033 0.0753)
OKLCHoklch(45.34% 0.082 113.7)
XYZxyz(7.8263, 9.5597, 2.7290)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B1F #241F5B
analogous
#5B421F #565B1F #385B1F
triadic
#565B1F #1F565B #5B1F56
tetradic
#565B1F #1F5B42 #241F5B #5B1F38
square
#565B1F #1F5B42 #241F5B #5B1F38
split-complementary
#565B1F #1F385B #421F5B
monochromatic
#161708 #2B2D0F #565B1F #81892F #ACB63E

Accessibility & contrast

On white

7.21
#565B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#565B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B1F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B1F#FFFFFF#000000##FFFFFF
##565B1F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625718
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#5C564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b1f;
/* rgb */ color: rgb(86, 91, 31);
/* oklch */ color: oklch(45.3% 0.082 113.7);
Tailwind
colors: {
  custom: {
    50: '#87895e',
    500: '#565b1f',
    950: '#000000',
  },
}
SCSS
$custom: #565b1f;
$custom-light: #87895e;
$custom-dark: #000000;
JSON
{
  "hex": "#565b1f",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 65,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.08222,
    "h": 113.7
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#565B1F
secondary
#4C4690
accent
#4FD95B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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