#565A18#565A18

#565A18 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.087 H 112.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#565A18
RGBrgb(86, 90, 24)
HSLhsl(64, 58%, 22%)
HSVhsv(64, 73%, 35%)
CMYKcmyk(4.4%, 0%, 73.3%, 64.7%)
CIE-LABlab(36.66, -11.03, 35.78)
CIE-LCHlch(36.66, 37.44, 107.13°)
OKLaboklab(45.02% -0.0337 0.0801)
OKLCHoklch(45.02% 0.087 112.8)
XYZxyz(7.6590, 9.3569, 2.2666)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A18 #1C185A
analogous
#5A3D18 #565A18 #355A18
triadic
#565A18 #18565A #5A1856
tetradic
#565A18 #185A3D #1C185A #5A1835
square
#565A18 #185A3D #1C185A #5A1835
split-complementary
#565A18 #18355A #3D185A
monochromatic
#171806 #282A0B #565A18 #848A25 #B2BB32

Accessibility & contrast

On white

7.31
#565A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#565A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A18
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A18#FFFFFF#000000##FFFFFF
##565A181.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560E
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#5C544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a18;
/* rgb */ color: rgb(86, 90, 24);
/* oklch */ color: oklch(45.0% 0.087 112.8);
Tailwind
colors: {
  custom: {
    50: '#888859',
    500: '#565a18',
    950: '#000000',
  },
}
SCSS
$custom: #565a18;
$custom-light: #888859;
$custom-dark: #000000;
JSON
{
  "hex": "#565a18",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 63.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.0869,
    "h": 112.8
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#565A18
secondary
#423D91
accent
#47E150
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #565A18

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

Preview Lab → · Contrast checker → · Palette generator →

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