#566517#566517

#566517 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.8% C 0.102 H 120.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#566517
RGBrgb(86, 101, 23)
HSLhsl(72, 63%, 24%)
HSVhsv(72, 77%, 40%)
CMYKcmyk(14.9%, 0%, 77.2%, 60.4%)
CIE-LABlab(40.16, -17.20, 39.64)
CIE-LCHlch(40.16, 43.21, 113.45°)
OKLaboklab(47.83% -0.0509 0.0881)
OKLCHoklch(47.83% 0.102 120)
XYZxyz(8.6462, 11.3477, 2.5453)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566517 #261765
analogous
#654D17 #566517 #2F6517
triadic
#566517 #175665 #651756
tetradic
#566517 #17654D #261765 #65172F
square
#566517 #17654D #261765 #65172F
split-complementary
#566517 #172F65 #4D1765
monochromatic
#151906 #2C330C #566517 #809722 #ABC92E

Accessibility & contrast

On white

6.42
#566517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#566517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566517
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566517#FFFFFF#000000##FFFFFF
##5665171.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#5B5F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #566517;
/* rgb */ color: rgb(86, 101, 23);
/* oklch */ color: oklch(47.8% 0.102 120.0);
Tailwind
colors: {
  custom: {
    50: '#88905a',
    500: '#566517',
    950: '#000000',
  },
}
SCSS
$custom: #566517;
$custom-light: #88905a;
$custom-dark: #000000;
JSON
{
  "hex": "#566517",
  "rgb": {
    "r": 86,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 71.538,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.10172,
    "h": 120
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#566517
secondary
#4F3C9B
accent
#42E661
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566517

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

Preview Lab → · Contrast checker → · Palette generator →

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