#565F0C#565F0C

#565F0C is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.2% C 0.100 H 116.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#565F0C
RGBrgb(86, 95, 12)
HSLhsl(67, 78%, 21%)
HSVhsv(67, 87%, 37%)
CMYKcmyk(9.5%, 0%, 87.4%, 62.7%)
CIE-LABlab(38.18, -14.45, 41.60)
CIE-LCHlch(38.18, 44.04, 109.15°)
OKLaboklab(46.21% -0.0443 0.0901)
OKLCHoklch(46.21% 0.1 116.2)
XYZxyz(7.9965, 10.1895, 1.8933)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565F0C #150C5F
analogous
#5F3E0C #565F0C #2C5F0C
triadic
#565F0C #0C565F #5F0C56
tetradic
#565F0C #0C5F3E #150C5F #5F0C2C
square
#565F0C #0C5F3E #150C5F #5F0C2C
split-complementary
#565F0C #0C2C5F #3E0C5F
monochromatic
#191B03 #252905 #565F0C #879513 #B8CC1A

Accessibility & contrast

On white

6.91
#565F0C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#565F0C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565F0C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565F0C#FFFFFF#000000##FFFFFF
##565F0C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#665A15
Tritanopia (blue-blind)
#5C5950
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #565f0c;
/* rgb */ color: rgb(86, 95, 12);
/* oklch */ color: oklch(46.2% 0.100 116.2);
Tailwind
colors: {
  custom: {
    50: '#898c55',
    500: '#565f0c',
    950: '#000000',
  },
}
SCSS
$custom: #565f0c;
$custom-light: #898c55;
$custom-dark: #000000;
JSON
{
  "hex": "#565f0c",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 66.506,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.10041,
    "h": 116.2
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#565F0C
secondary
#392D99
accent
#34F449
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #565F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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