#565F1B#565F1B

#565F1B is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.3% C 0.091 H 116.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#565F1B
RGBrgb(86, 95, 27)
HSLhsl(68, 56%, 24%)
HSVhsv(68, 72%, 37%)
CMYKcmyk(9.5%, 0%, 71.6%, 62.7%)
CIE-LABlab(38.27, -13.65, 36.09)
CIE-LCHlch(38.27, 38.59, 110.72°)
OKLaboklab(46.32% -0.0406 0.0813)
OKLCHoklch(46.32% 0.091 116.6)
XYZxyz(8.1280, 10.2421, 2.5854)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565F1B #241B5F
analogous
#5F461B #565F1B #345F1B
triadic
#565F1B #1B565F #5F1B56
tetradic
#565F1B #1B5F46 #241B5F #5F1B34
square
#565F1B #1B5F46 #241B5F #5F1B34
split-complementary
#565F1B #1B345F #461B5F
monochromatic
#161807 #2B2F0D #565F1B #818F29 #ACBE36

Accessibility & contrast

On white

6.89
#565F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#565F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565F1B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565F1B#FFFFFF#000000##FFFFFF
##565F1B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#5C5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #565f1b;
/* rgb */ color: rgb(86, 95, 27);
/* oklch */ color: oklch(46.3% 0.091 116.6);
Tailwind
colors: {
  custom: {
    50: '#888c5c',
    500: '#565f1b',
    950: '#000000',
  },
}
SCSS
$custom: #565f1b;
$custom-light: #888c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#565f1b",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 67.941,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.09091,
    "h": 116.6
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#565F1B
secondary
#4C4195
accent
#49DF5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #565F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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