#565A2F#565A2F

#565A2F is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.063 H 113.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#565A2F
RGBrgb(86, 90, 47)
HSLhsl(66, 31%, 27%)
HSVhsv(66, 48%, 35%)
CMYKcmyk(4.4%, 0%, 47.8%, 64.7%)
CIE-LABlab(36.92, -8.93, 24.21)
CIE-LCHlch(36.92, 25.80, 110.24°)
OKLaboklab(45.31% -0.0251 0.0583)
OKLCHoklch(45.31% 0.063 113.3)
XYZxyz(8.0071, 9.4961, 4.0999)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A2F #332F5A
analogous
#5A492F #565A2F #415A2F
triadic
#565A2F #2F565A #5A2F56
tetradic
#565A2F #2F5A49 #332F5A #5A2F41
square
#565A2F #2F5A49 #332F5A #5A2F41
split-complementary
#565A2F #2F415A #492F5A
monochromatic
#13140A #30321A #565A2F #7C8244 #A2A95A

Accessibility & contrast

On white

7.24
#565A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#565A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A2F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A2F#FFFFFF#000000##FFFFFF
##565A2F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562B
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#5B5650
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565a2f;
/* rgb */ color: rgb(86, 90, 47);
/* oklch */ color: oklch(45.3% 0.063 113.3);
Tailwind
colors: {
  custom: {
    50: '#868868',
    500: '#565a2f',
    950: '#000000',
  },
}
SCSS
$custom: #565a2f;
$custom-light: #868868;
$custom-dark: #000000;
JSON
{
  "hex": "#565a2f",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 65.581,
    "s": 31.387,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.06342,
    "h": 113.3
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#565A2F
secondary
#5E598C
accent
#60C86A
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #565A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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