#565A28#565A28

#565A28 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.072 H 113.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#565A28
RGBrgb(86, 90, 40)
HSLhsl(65, 38%, 25%)
HSVhsv(65, 56%, 35%)
CMYKcmyk(4.4%, 0%, 55.6%, 64.7%)
CIE-LABlab(36.83, -9.70, 28.01)
CIE-LCHlch(36.83, 29.64, 109.11°)
OKLaboklab(45.2% -0.028 0.066)
OKLCHoklch(45.2% 0.072 113)
XYZxyz(7.8771, 9.4441, 3.4150)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A28 #2C285A
analogous
#5A4528 #565A28 #3D5A28
triadic
#565A28 #28565A #5A2856
tetradic
#565A28 #285A45 #2C285A #5A283D
square
#565A28 #285A45 #2C285A #5A283D
split-complementary
#565A28 #283D5A #45285A
monochromatic
#141509 #2E3015 #565A28 #7E843B #A7AF4E

Accessibility & contrast

On white

7.27
#565A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#565A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A28
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A28#FFFFFF#000000##FFFFFF
##565A281.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#60572B
Tritanopia (blue-blind)
#5B554F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565a28;
/* rgb */ color: rgb(86, 90, 40);
/* oklch */ color: oklch(45.2% 0.072 113.0);
Tailwind
colors: {
  custom: {
    50: '#878863',
    500: '#565a28',
    950: '#000000',
  },
}
SCSS
$custom: #565a28;
$custom-light: #878863;
$custom-dark: #000000;
JSON
{
  "hex": "#565a28",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 64.8,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.07166,
    "h": 113
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#565A28
secondary
#56518D
accent
#59CE63
background
#F8F8F6
surface
#F0EFEB
border
#CBCAC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #565A28

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

Preview Lab → · Contrast checker → · Palette generator →

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