#565C1F#565C1F

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

Color values

HEX#565C1F
RGBrgb(86, 92, 31)
HSLhsl(66, 50%, 24%)
HSVhsv(66, 66%, 36%)
CMYKcmyk(6.5%, 0%, 66.3%, 63.9%)
CIE-LABlab(37.36, -11.67, 33.26)
CIE-LCHlch(37.36, 35.25, 109.33°)
OKLaboklab(45.6% -0.0346 0.076)
OKLCHoklch(45.6% 0.084 114.5)
XYZxyz(7.9124, 9.7318, 2.7577)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C1F #251F5C
analogous
#5C441F #565C1F #385C1F
triadic
#565C1F #1F565C #5C1F56
tetradic
#565C1F #1F5C44 #251F5C #5C1F38
square
#565C1F #1F5C44 #251F5C #5C1F38
split-complementary
#565C1F #1F385C #441F5C
monochromatic
#151708 #2B2E10 #565C1F #818A2E #ACB83E

Accessibility & contrast

On white

7.13
#565C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#565C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C1F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C1F#FFFFFF#000000##FFFFFF
##565C1F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635718
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#5C574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c1f;
/* rgb */ color: rgb(86, 92, 31);
/* oklch */ color: oklch(45.6% 0.084 114.5);
Tailwind
colors: {
  custom: {
    50: '#878a5e',
    500: '#565c1f',
    950: '#000000',
  },
}
SCSS
$custom: #565c1f;
$custom-light: #878a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#565c1f",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 65.902,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.08353,
    "h": 114.5
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#565C1F
secondary
#4D4691
accent
#4FD95C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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