#565A1B#565A1B

#565A1B is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.084 H 112.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#565A1B
RGBrgb(86, 90, 27)
HSLhsl(64, 54%, 23%)
HSVhsv(64, 70%, 35%)
CMYKcmyk(4.4%, 0%, 70%, 64.7%)
CIE-LABlab(36.69, -10.83, 34.45)
CIE-LCHlch(36.69, 36.11, 107.45°)
OKLaboklab(45.05% -0.0327 0.0779)
OKLCHoklch(45.05% 0.084 112.8)
XYZxyz(7.6920, 9.3701, 2.4401)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A1B #1F1B5A
analogous
#5A3F1B #565A1B #365A1B
triadic
#565A1B #1B565A #5A1B56
tetradic
#565A1B #1B5A3F #1F1B5A #5A1B36
square
#565A1B #1B5A3F #1F1B5A #5A1B36
split-complementary
#565A1B #1B365A #3F1B5A
monochromatic
#161807 #292B0D #565A1B #838929 #B0B837

Accessibility & contrast

On white

7.31
#565A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#565A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A1B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A1B#FFFFFF#000000##FFFFFF
##565A1B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615612
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#5C544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a1b;
/* rgb */ color: rgb(86, 90, 27);
/* oklch */ color: oklch(45.0% 0.084 112.8);
Tailwind
colors: {
  custom: {
    50: '#88885b',
    500: '#565a1b',
    950: '#000000',
  },
}
SCSS
$custom: #565a1b;
$custom-light: #88885b;
$custom-dark: #000000;
JSON
{
  "hex": "#565a1b",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 63.81,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.08448,
    "h": 112.8
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#565A1B
secondary
#464190
accent
#4BDD54
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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