#566717#566717

#566717 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.3% C 0.104 H 121.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#566717
RGBrgb(86, 103, 23)
HSLhsl(73, 63%, 25%)
HSVhsv(73, 78%, 40%)
CMYKcmyk(16.5%, 0%, 77.7%, 59.6%)
CIE-LABlab(40.80, -18.27, 40.26)
CIE-LCHlch(40.80, 44.21, 114.41°)
OKLaboklab(48.34% -0.0538 0.0894)
OKLCHoklch(48.34% 0.104 121.1)
XYZxyz(8.8428, 11.7408, 2.6108)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566717 #281767
analogous
#675017 #566717 #2E6717
triadic
#566717 #175667 #671756
tetradic
#566717 #176750 #281767 #67172E
square
#566717 #176750 #281767 #67172E
split-complementary
#566717 #172E67 #501767
monochromatic
#151906 #2C350C #566717 #809922 #AACB2D

Accessibility & contrast

On white

6.27
#566717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#566717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566717
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566717#FFFFFF#000000##FFFFFF
##5667171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6007
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#5B6158
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #566717;
/* rgb */ color: rgb(86, 103, 23);
/* oklch */ color: oklch(48.3% 0.104 121.1);
Tailwind
colors: {
  custom: {
    50: '#88925b',
    500: '#566717',
    950: '#000000',
  },
}
SCSS
$custom: #566717;
$custom-light: #88925b;
$custom-dark: #000000;
JSON
{
  "hex": "#566717",
  "rgb": {
    "r": 86,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 72.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.10434,
    "h": 121.1
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#566717
secondary
#513D9D
accent
#41E764
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #566717

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

Preview Lab → · Contrast checker → · Palette generator →

#566717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva