#565C06#565C06

#565C06 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.099 H 114.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#565C06
RGBrgb(86, 92, 6)
HSLhsl(64, 88%, 19%)
HSVhsv(64, 93%, 36%)
CMYKcmyk(6.5%, 0%, 93.5%, 63.9%)
CIE-LABlab(37.20, -12.98, 42.45)
CIE-LCHlch(37.20, 44.39, 107.00°)
OKLaboklab(45.42% -0.0407 0.0908)
OKLCHoklch(45.42% 0.099 114.1)
XYZxyz(7.6980, 9.6460, 1.6286)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C06 #0C065C
analogous
#5C3706 #565C06 #2B5C06
triadic
#565C06 #06565C #5C0656
tetradic
#565C06 #065C37 #0C065C #5C062B
square
#565C06 #065C37 #0C065C #5C062B
split-complementary
#565C06 #062B5C #37065C
monochromatic
#1B1D02 #202302 #565C06 #8C950A #C1CF0D

Accessibility & contrast

On white

7.17
#565C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#565C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C06
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C06#FFFFFF#000000##FFFFFF
##565C061.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#635810
Tritanopia (blue-blind)
#5D564D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c06;
/* rgb */ color: rgb(86, 92, 6);
/* oklch */ color: oklch(45.4% 0.099 114.1);
Tailwind
colors: {
  custom: {
    50: '#898a52',
    500: '#565c06',
    950: '#000000',
  },
}
SCSS
$custom: #565c06;
$custom-light: #898a52;
$custom-dark: #000000;
JSON
{
  "hex": "#565c06",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 6
  },
  "hsl": {
    "h": 64.186,
    "s": 87.755,
    "l": 19.216
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.09946,
    "h": 114.1
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#565C06
secondary
#2D2599
accent
#2AFE39
background
#F8F8F4
surface
#F0F0E7
border
#CBCBC3
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565C06

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

Preview Lab → · Contrast checker → · Palette generator →

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