#565A1F#565A1F

#565A1F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.081 H 112.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#565A1F
RGBrgb(86, 90, 31)
HSLhsl(64, 49%, 24%)
HSVhsv(64, 66%, 35%)
CMYKcmyk(4.4%, 0%, 65.6%, 64.7%)
CIE-LABlab(36.72, -10.52, 32.58)
CIE-LCHlch(36.72, 34.23, 107.90°)
OKLaboklab(45.09% -0.0314 0.0746)
OKLCHoklch(45.09% 0.081 112.9)
XYZxyz(7.7414, 9.3898, 2.7007)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A1F #231F5A
analogous
#5A401F #565A1F #385A1F
triadic
#565A1F #1F565A #5A1F56
tetradic
#565A1F #1F5A40 #231F5A #5A1F38
square
#565A1F #1F5A40 #231F5A #5A1F38
split-complementary
#565A1F #1F385A #401F5A
monochromatic
#161708 #2B2C0F #565A1F #81882F #ADB53E

Accessibility & contrast

On white

7.30
#565A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#565A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A1F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A1F#FFFFFF#000000##FFFFFF
##565A1F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#5C554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a1f;
/* rgb */ color: rgb(86, 90, 31);
/* oklch */ color: oklch(45.1% 0.081 112.9);
Tailwind
colors: {
  custom: {
    50: '#87885e',
    500: '#565a1f',
    950: '#000000',
  },
}
SCSS
$custom: #565a1f;
$custom-light: #87885e;
$custom-dark: #000000;
JSON
{
  "hex": "#565a1f",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 64.068,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.08091,
    "h": 112.9
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#565A1F
secondary
#4B468F
accent
#4FD859
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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