#565B22#565B22

#565B22 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.079 H 113.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#565B22
RGBrgb(86, 91, 34)
HSLhsl(65, 46%, 25%)
HSVhsv(65, 63%, 36%)
CMYKcmyk(5.5%, 0%, 62.6%, 64.3%)
CIE-LABlab(37.07, -10.85, 31.45)
CIE-LCHlch(37.07, 33.27, 109.03°)
OKLaboklab(45.38% -0.032 0.0726)
OKLCHoklch(45.38% 0.079 113.8)
XYZxyz(7.8677, 9.5762, 2.9470)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B22 #27225B
analogous
#5B4422 #565B22 #3A5B22
triadic
#565B22 #22565B #5B2256
tetradic
#565B22 #225B44 #27225B #5B223A
square
#565B22 #225B44 #27225B #5B223A
split-complementary
#565B22 #223A5B #44225B
monochromatic
#151608 #2C2E11 #565B22 #808833 #AAB443

Accessibility & contrast

On white

7.20
#565B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#565B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B22
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B22#FFFFFF#000000##FFFFFF
##565B221.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571C
Deuteranopia (green-blind)
#615825
Tritanopia (blue-blind)
#5C564F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b22;
/* rgb */ color: rgb(86, 91, 34);
/* oklch */ color: oklch(45.4% 0.079 113.8);
Tailwind
colors: {
  custom: {
    50: '#878960',
    500: '#565b22',
    950: '#000000',
  },
}
SCSS
$custom: #565b22;
$custom-light: #878960;
$custom-dark: #000000;
JSON
{
  "hex": "#565b22",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 65.263,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.07935,
    "h": 113.8
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#565B22
secondary
#504A8F
accent
#53D55E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565B22

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

Preview Lab → · Contrast checker → · Palette generator →

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