#565B0F#565B0F

#565B0F is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.2% C 0.094 H 113.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#565B0F
RGBrgb(86, 91, 15)
HSLhsl(64, 72%, 21%)
HSVhsv(64, 84%, 36%)
CMYKcmyk(5.5%, 0%, 83.5%, 64.3%)
CIE-LABlab(36.92, -12.08, 39.54)
CIE-LCHlch(36.92, 41.35, 106.99°)
OKLaboklab(45.21% -0.0375 0.0863)
OKLCHoklch(45.21% 0.094 113.5)
XYZxyz(7.6653, 9.4953, 1.8808)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B0F #140F5B
analogous
#5B3A0F #565B0F #305B0F
triadic
#565B0F #0F565B #5B0F56
tetradic
#565B0F #0F5B3A #140F5B #5B0F30
square
#565B0F #0F5B3A #140F5B #5B0F30
split-complementary
#565B0F #0F305B #3A0F5B
monochromatic
#191A04 #242606 #565B0F #889018 #B9C420

Accessibility & contrast

On white

7.24
#565B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#565B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B0F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B0F#FFFFFF#000000##FFFFFF
##565B0F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#625816
Tritanopia (blue-blind)
#5C554D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b0f;
/* rgb */ color: rgb(86, 91, 15);
/* oklch */ color: oklch(45.2% 0.094 113.5);
Tailwind
colors: {
  custom: {
    50: '#888955',
    500: '#565b0f',
    950: '#000000',
  },
}
SCSS
$custom: #565b0f;
$custom-light: #888955;
$custom-dark: #000000;
JSON
{
  "hex": "#565b0f",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 63.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.0941,
    "h": 113.5
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#565B0F
secondary
#383195
accent
#39EE45
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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