#565D21#565D21

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

Color values

HEX#565D21
RGBrgb(86, 93, 33)
HSLhsl(67, 48%, 25%)
HSVhsv(67, 65%, 36%)
CMYKcmyk(7.5%, 0%, 64.5%, 63.5%)
CIE-LABlab(37.69, -12.07, 32.64)
CIE-LCHlch(37.69, 34.80, 110.29°)
OKLaboklab(45.87% -0.0355 0.075)
OKLCHoklch(45.87% 0.083 115.3)
XYZxyz(8.0268, 9.9171, 2.9299)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D21 #28215D
analogous
#5D4621 #565D21 #385D21
triadic
#565D21 #21565D #5D2156
tetradic
#565D21 #215D46 #28215D #5D2138
square
#565D21 #215D46 #28215D #5D2138
split-complementary
#565D21 #21385D #46215D
monochromatic
#151708 #2C3011 #565D21 #808A31 #AAB741

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##565D21#FFFFFF#000000##FFFFFF
##565D211.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)
#64581A
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#5B5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #565d21;
/* rgb */ color: rgb(86, 93, 33);
/* oklch */ color: oklch(45.9% 0.083 115.3);
Tailwind
colors: {
  custom: {
    50: '#878a5f',
    500: '#565d21',
    950: '#000000',
  },
}
SCSS
$custom: #565d21;
$custom-light: #878a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#565d21",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 67,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.08299,
    "h": 115.3
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#565D21
secondary
#514991
accent
#51D760
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565D21

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

Preview Lab → · Contrast checker → · Palette generator →

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