#565C1B#565C1B

#565C1B is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.087 H 114.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#565C1B
RGBrgb(86, 92, 27)
HSLhsl(66, 55%, 23%)
HSVhsv(66, 71%, 36%)
CMYKcmyk(6.5%, 0%, 70.7%, 63.9%)
CIE-LABlab(37.32, -11.97, 35.11)
CIE-LCHlch(37.32, 37.09, 108.82°)
OKLaboklab(45.55% -0.0359 0.0793)
OKLCHoklch(45.55% 0.087 114.4)
XYZxyz(7.8629, 9.7120, 2.4971)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C1B #211B5C
analogous
#5C411B #565C1B #355C1B
triadic
#565C1B #1B565C #5C1B56
tetradic
#565C1B #1B5C41 #211B5C #5C1B35
square
#565C1B #1B5C41 #211B5C #5C1B35
split-complementary
#565C1B #1B355C #411B5C
monochromatic
#161807 #2A2D0D #565C1B #828B29 #AEBB37

Accessibility & contrast

On white

7.14
#565C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#565C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C1B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C1B#FFFFFF#000000##FFFFFF
##565C1B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635712
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#5C564F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c1b;
/* rgb */ color: rgb(86, 92, 27);
/* oklch */ color: oklch(45.6% 0.087 114.4);
Tailwind
colors: {
  custom: {
    50: '#888a5b',
    500: '#565c1b',
    950: '#000000',
  },
}
SCSS
$custom: #565c1b;
$custom-light: #888a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#565c1b",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 65.538,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45554,
    "c": 0.08702,
    "h": 114.4
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#565C1B
secondary
#494192
accent
#4ADE58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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