#565A1C#565A1C

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

Color values

HEX#565A1C
RGBrgb(86, 90, 28)
HSLhsl(64, 53%, 23%)
HSVhsv(64, 69%, 35%)
CMYKcmyk(4.4%, 0%, 68.9%, 64.7%)
CIE-LABlab(36.70, -10.76, 33.99)
CIE-LCHlch(36.70, 35.66, 107.56°)
OKLaboklab(45.06% -0.0324 0.0771)
OKLCHoklch(45.06% 0.084 112.8)
XYZxyz(7.7037, 9.3748, 2.5021)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A1C #201C5A
analogous
#5A3F1C #565A1C #375A1C
triadic
#565A1C #1C565A #5A1C56
tetradic
#565A1C #1C5A3F #201C5A #5A1C37
square
#565A1C #1C5A3F #201C5A #5A1C37
split-complementary
#565A1C #1C375A #3F1C5A
monochromatic
#161707 #292B0D #565A1C #83892B #AFB739

Accessibility & contrast

On white

7.30
#565A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565A1C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A1C#FFFFFF#000000##FFFFFF
##565A1C1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615614
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#5C544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a1c;
/* rgb */ color: rgb(86, 90, 28);
/* oklch */ color: oklch(45.1% 0.084 112.8);
Tailwind
colors: {
  custom: {
    50: '#88885c',
    500: '#565a1c',
    950: '#000000',
  },
}
SCSS
$custom: #565a1c;
$custom-light: #88885c;
$custom-dark: #000000;
JSON
{
  "hex": "#565a1c",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 28
  },
  "hsl": {
    "h": 63.871,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.08362,
    "h": 112.8
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#565A1C
secondary
#47428F
accent
#4CDC55
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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