#565D0F#565D0F

#565D0F is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.7% C 0.096 H 114.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#565D0F
RGBrgb(86, 93, 15)
HSLhsl(65, 72%, 21%)
HSVhsv(65, 84%, 36%)
CMYKcmyk(7.5%, 0%, 83.9%, 63.5%)
CIE-LABlab(37.56, -13.21, 40.12)
CIE-LCHlch(37.56, 42.23, 108.23°)
OKLaboklab(45.72% -0.0406 0.0875)
OKLCHoklch(45.72% 0.096 114.9)
XYZxyz(7.8386, 9.8418, 1.9386)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D0F #160F5D
analogous
#5D3D0F #565D0F #2F5D0F
triadic
#565D0F #0F565D #5D0F56
tetradic
#565D0F #0F5D3D #160F5D #5D0F2F
square
#565D0F #0F5D3D #160F5D #5D0F2F
split-complementary
#565D0F #0F2F5D #3D0F5D
monochromatic
#181A04 #252806 #565D0F #879217 #B7C620

Accessibility & contrast

On white

7.07
#565D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#565D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565D0F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565D0F#FFFFFF#000000##FFFFFF
##565D0F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565d0f;
/* rgb */ color: rgb(86, 93, 15);
/* oklch */ color: oklch(45.7% 0.096 114.9);
Tailwind
colors: {
  custom: {
    50: '#888a55',
    500: '#565d0f',
    950: '#000000',
  },
}
SCSS
$custom: #565d0f;
$custom-light: #888a55;
$custom-dark: #000000;
JSON
{
  "hex": "#565d0f",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 65.385,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.09649,
    "h": 114.9
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#565D0F
secondary
#3A3196
accent
#39EF49
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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