#565B12#565B12

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

Color values

HEX#565B12
RGBrgb(86, 91, 18)
HSLhsl(64, 67%, 21%)
HSVhsv(64, 80%, 36%)
CMYKcmyk(5.5%, 0%, 80.2%, 64.3%)
CIE-LABlab(36.94, -11.94, 38.49)
CIE-LCHlch(36.94, 40.30, 107.24°)
OKLaboklab(45.23% -0.0368 0.0847)
OKLCHoklch(45.23% 0.092 113.5)
XYZxyz(7.6883, 9.5044, 2.0017)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B12 #17125B
analogous
#5B3C12 #565B12 #325B12
triadic
#565B12 #12565B #5B1256
tetradic
#565B12 #125B3C #17125B #5B1232
square
#565B12 #125B3C #17125B #5B1232
split-complementary
#565B12 #12325B #3C125B
monochromatic
#181A05 #262808 #565B12 #868E1C #B7C126

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##565B12#FFFFFF#000000##FFFFFF
##565B121.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)
#625603
Deuteranopia (green-blind)
#625818
Tritanopia (blue-blind)
#5C554D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b12;
/* rgb */ color: rgb(86, 91, 18);
/* oklch */ color: oklch(45.2% 0.092 113.5);
Tailwind
colors: {
  custom: {
    50: '#888957',
    500: '#565b12',
    950: '#000000',
  },
}
SCSS
$custom: #565b12;
$custom-light: #888957;
$custom-dark: #000000;
JSON
{
  "hex": "#565b12",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 64.11,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.09234,
    "h": 113.5
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#565B12
secondary
#3C3593
accent
#3EEA4A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565B12

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

Preview Lab → · Contrast checker → · Palette generator →

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