#565F28#565F28

#565F28 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.5% C 0.079 H 117.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#565F28
RGBrgb(86, 95, 40)
HSLhsl(70, 41%, 26%)
HSVhsv(70, 58%, 37%)
CMYKcmyk(9.5%, 0%, 57.9%, 62.7%)
CIE-LABlab(38.40, -12.55, 29.85)
CIE-LCHlch(38.40, 32.38, 112.81°)
OKLaboklab(46.47% -0.0361 0.0699)
OKLCHoklch(46.47% 0.079 117.3)
XYZxyz(8.3131, 10.3161, 3.5603)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565F28 #31285F
analogous
#5F4D28 #565F28 #3B5F28
triadic
#565F28 #28565F #5F2856
tetradic
#565F28 #285F4D #31285F #5F283B
square
#565F28 #285F4D #31285F #5F283B
split-complementary
#565F28 #283B5F #4D285F
monochromatic
#131609 #2F3416 #565F28 #7D8A3A #A3B44D

Accessibility & contrast

On white

6.86
#565F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#565F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565F28
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565F28#FFFFFF#000000##FFFFFF
##565F281.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A23
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#5B5A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #565f28;
/* rgb */ color: rgb(86, 95, 40);
/* oklch */ color: oklch(46.5% 0.079 117.3);
Tailwind
colors: {
  custom: {
    50: '#878c64',
    500: '#565f28',
    950: '#000000',
  },
}
SCSS
$custom: #565f28;
$custom-light: #878c64;
$custom-dark: #000000;
JSON
{
  "hex": "#565f28",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 69.818,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.0787,
    "h": 117.3
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#565F28
secondary
#5C5192
accent
#57D16B
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #565F28

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

Preview Lab → · Contrast checker → · Palette generator →

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