#565C26#565C26

#565C26 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.7% C 0.077 H 114.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#565C26
RGBrgb(86, 92, 38)
HSLhsl(67, 42%, 25%)
HSVhsv(67, 59%, 36%)
CMYKcmyk(6.5%, 0%, 58.7%, 63.9%)
CIE-LABlab(37.43, -11.05, 29.78)
CIE-LCHlch(37.43, 31.77, 110.36°)
OKLaboklab(45.68% -0.0321 0.0696)
OKLCHoklch(45.68% 0.077 114.8)
XYZxyz(8.0149, 9.7728, 3.2975)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C26 #2C265C
analogous
#5C4726 #565C26 #3B5C26
triadic
#565C26 #26565C #5C2656
tetradic
#565C26 #265C47 #2C265C #5C263B
square
#565C26 #265C47 #2C265C #5C263B
split-complementary
#565C26 #263B5C #47265C
monochromatic
#141609 #2E3114 #565C26 #7E8738 #A7B34A

Accessibility & contrast

On white

7.11
#565C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#565C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C26
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C26#FFFFFF#000000##FFFFFF
##565C261.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625821
Deuteranopia (green-blind)
#625929
Tritanopia (blue-blind)
#5B5750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c26;
/* rgb */ color: rgb(86, 92, 38);
/* oklch */ color: oklch(45.7% 0.077 114.8);
Tailwind
colors: {
  custom: {
    50: '#878a62',
    500: '#565c26',
    950: '#000000',
  },
}
SCSS
$custom: #565c26;
$custom-light: #878a62;
$custom-dark: #000000;
JSON
{
  "hex": "#565c26",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 38
  },
  "hsl": {
    "h": 66.667,
    "s": 41.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.0766,
    "h": 114.8
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#565C26
secondary
#564F8F
accent
#56D164
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565C26

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

Preview Lab → · Contrast checker → · Palette generator →

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