#565F16#565F16

#565F16 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.3% C 0.095 H 116.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#565F16
RGBrgb(86, 95, 22)
HSLhsl(67, 62%, 23%)
HSVhsv(67, 77%, 37%)
CMYKcmyk(9.5%, 0%, 76.8%, 62.7%)
CIE-LABlab(38.24, -13.97, 38.17)
CIE-LCHlch(38.24, 40.65, 110.10°)
OKLaboklab(46.28% -0.0421 0.0848)
OKLCHoklch(46.28% 0.095 116.4)
XYZxyz(8.0750, 10.2209, 2.3063)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565F16 #1F165F
analogous
#5F4316 #565F16 #315F16
triadic
#565F16 #16565F #5F1656
tetradic
#565F16 #165F43 #1F165F #5F1631
square
#565F16 #165F43 #1F165F #5F1631
split-complementary
#565F16 #16315F #43165F
monochromatic
#161906 #292D0A #565F16 #839122 #B0C22D

Accessibility & contrast

On white

6.90
#565F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #565F16
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565F16#FFFFFF#000000##FFFFFF
##565F161.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A08
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#5C5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #565f16;
/* rgb */ color: rgb(86, 95, 22);
/* oklch */ color: oklch(46.3% 0.095 116.4);
Tailwind
colors: {
  custom: {
    50: '#888c59',
    500: '#565f16',
    950: '#000000',
  },
}
SCSS
$custom: #565f16;
$custom-light: #888c59;
$custom-dark: #000000;
JSON
{
  "hex": "#565f16",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 67.397,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.09465,
    "h": 116.4
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#565F16
secondary
#463B96
accent
#42E556
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #565F16

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

Preview Lab → · Contrast checker → · Palette generator →

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