#565A23#565A23

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

Color values

HEX#565A23
RGBrgb(86, 90, 35)
HSLhsl(64, 44%, 25%)
HSVhsv(64, 61%, 35%)
CMYKcmyk(4.4%, 0%, 61.1%, 64.7%)
CIE-LABlab(36.77, -10.18, 30.60)
CIE-LCHlch(36.77, 32.25, 108.41°)
OKLaboklab(45.14% -0.03 0.0709)
OKLCHoklch(45.14% 0.077 112.9)
XYZxyz(7.7975, 9.4123, 2.9958)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A23 #27235A
analogous
#5A4323 #565A23 #3B5A23
triadic
#565A23 #23565A #5A2356
tetradic
#565A23 #235A43 #27235A #5A233B
square
#565A23 #235A43 #27235A #5A233B
split-complementary
#565A23 #233B5A #43235A
monochromatic
#151609 #2C2E12 #565A23 #808634 #AAB245

Accessibility & contrast

On white

7.29
#565A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565A23
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A23#FFFFFF#000000##FFFFFF
##565A231.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561D
Deuteranopia (green-blind)
#615726
Tritanopia (blue-blind)
#5C554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a23;
/* rgb */ color: rgb(86, 90, 35);
/* oklch */ color: oklch(45.1% 0.077 112.9);
Tailwind
colors: {
  custom: {
    50: '#878860',
    500: '#565a23',
    950: '#000000',
  },
}
SCSS
$custom: #565a23;
$custom-light: #878860;
$custom-dark: #000000;
JSON
{
  "hex": "#565a23",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 64.364,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.07701,
    "h": 112.9
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#565A23
secondary
#504B8E
accent
#54D45D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565A23

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

Preview Lab → · Contrast checker → · Palette generator →

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