#565D22#565D22

#565D22 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.9% C 0.082 H 115.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#565D22
RGBrgb(86, 93, 34)
HSLhsl(67, 46%, 25%)
HSVhsv(67, 63%, 36%)
CMYKcmyk(7.5%, 0%, 63.4%, 63.5%)
CIE-LABlab(37.70, -11.98, 32.15)
CIE-LCHlch(37.70, 34.31, 110.44°)
OKLaboklab(45.88% -0.0352 0.0741)
OKLCHoklch(45.88% 0.082 115.4)
XYZxyz(8.0410, 9.9227, 3.0047)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D22 #29225D
analogous
#5D4722 #565D22 #385D22
triadic
#565D22 #22565D #5D2256
tetradic
#565D22 #225D47 #29225D #5D2238
square
#565D22 #225D47 #29225D #5D2238
split-complementary
#565D22 #22385D #47225D
monochromatic
#151608 #2D3012 #565D22 #7F8A32 #A9B743

Accessibility & contrast

On white

7.04
#565D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#565D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565D22
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565D22#FFFFFF#000000##FFFFFF
##565D221.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581B
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#5B5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #565d22;
/* rgb */ color: rgb(86, 93, 34);
/* oklch */ color: oklch(45.9% 0.082 115.4);
Tailwind
colors: {
  custom: {
    50: '#878a60',
    500: '#565d22',
    950: '#000000',
  },
}
SCSS
$custom: #565d22;
$custom-light: #878a60;
$custom-dark: #000000;
JSON
{
  "hex": "#565d22",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 67.119,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45882,
    "c": 0.08204,
    "h": 115.4
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#565D22
secondary
#524A91
accent
#52D661
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565D22

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

Preview Lab → · Contrast checker → · Palette generator →

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