#565A27#565A27

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

Color values

HEX#565A27
RGBrgb(86, 90, 39)
HSLhsl(65, 40%, 25%)
HSVhsv(65, 57%, 35%)
CMYKcmyk(4.4%, 0%, 56.7%, 64.7%)
CIE-LABlab(36.81, -9.80, 28.53)
CIE-LCHlch(36.81, 30.17, 108.96°)
OKLaboklab(45.19% -0.0284 0.067)
OKLCHoklch(45.19% 0.073 113)
XYZxyz(7.8603, 9.4374, 3.3266)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A27 #2B275A
analogous
#5A4427 #565A27 #3C5A27
triadic
#565A27 #27565A #5A2756
tetradic
#565A27 #275A44 #2B275A #5A273C
square
#565A27 #275A44 #2B275A #5A273C
split-complementary
#565A27 #273C5A #44275A
monochromatic
#141509 #2D2F14 #565A27 #7F853A #A8AF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##565A27#FFFFFF#000000##FFFFFF
##565A271.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)
#605622
Deuteranopia (green-blind)
#60572A
Tritanopia (blue-blind)
#5B554F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565a27;
/* rgb */ color: rgb(86, 90, 39);
/* oklch */ color: oklch(45.2% 0.073 113.0);
Tailwind
colors: {
  custom: {
    50: '#878863',
    500: '#565a27',
    950: '#000000',
  },
}
SCSS
$custom: #565a27;
$custom-light: #878863;
$custom-dark: #000000;
JSON
{
  "hex": "#565a27",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 39
  },
  "hsl": {
    "h": 64.706,
    "s": 39.535,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.07277,
    "h": 113
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#565A27
secondary
#55508D
accent
#58CF62
background
#F8F8F5
surface
#F0EFEA
border
#CBCAC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565A27

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

Preview Lab → · Contrast checker → · Palette generator →

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