Small Colour Collections

analogous

Analogous · hue 83°

Five sRGB colours from explicit HSL steps. The strongest measured pair is #3E330F / #D6F5D6 at 10.62:1.

Analogous · hue 83°
This preview uses the exact downloadable SVG.

What is in this study

Constructionanalogous
SVG dimensions960 × 600
Geometric primitives5
Colours#3E330F, #7B8320, #92CD32, #A1E184, #D6F5D6

HSL values are converted to eight-bit sRGB colours. Relative luminance and contrast are calculated from those final hex values using the WCAG sRGB formula. A ratio describes a colour pair; it does not certify the accessibility of a whole design.

Measured contrast pairs

Pair#3E330F#7B8320#92CD32#A1E184#D6F5D6
#3E330F1.00:13.03:16.53:18.08:110.62:1
#7B83203.03:11.00:12.15:12.67:13.50:1
#92CD326.53:12.15:11.00:11.24:11.63:1
#A1E1848.08:12.67:11.24:11.00:11.31:1
#D6F5D610.62:13.50:11.63:11.31:11.00:1

Ratios use the exact exported sRGB hex values. They describe these pairs, not the accessibility of an entire interface.

The calculations follow the W3C definition of sRGB relative luminance; the contrast ratio is (lighter luminance + 0.05) / (darker luminance + 0.05).

The actual parameters

{
  "hsl": [
    {
      "h": 47,
      "s": 61,
      "l": 15
    },
    {
      "h": 65,
      "s": 61,
      "l": 32
    },
    {
      "h": 83,
      "s": 61,
      "l": 50
    },
    {
      "h": 101,
      "s": 61,
      "l": 70
    },
    {
      "h": 119,
      "s": 61,
      "l": 90
    }
  ],
  "hex": [
    "#3E330F",
    "#7B8320",
    "#92CD32",
    "#A1E184",
    "#D6F5D6"
  ],
  "contrast_matrix": [
    [
      1.0,
      3.032,
      6.528,
      8.081,
      10.616
    ],
    [
      3.032,
      1.0,
      2.153,
      2.665,
      3.502
    ],
    [
      6.528,
      2.153,
      1.0,
      1.238,
      1.626
    ],
    [
      8.081,
      2.665,
      1.238,
      1.0,
      1.314
    ],
    [
      10.616,
      3.502,
      1.626,
      1.314,
      1.0
    ]
  ],
  "strongest_pair": {
    "first": "#3E330F",
    "second": "#D6F5D6",
    "ratio": 10.616
  }
}

The JSON download also records every geometric primitive and the SHA-256 of the SVG file.

Make a variation

Copy the supplied --study-color-1 through --study-color-5 CSS variables into a stylesheet and assign them to text, backgrounds, or borders. If you change a hex value, calculate its contrast again before choosing a text and background pair.

Keep the SVG and CSS in the same directory when using the background-image rule. The CSS also exports the colours as custom properties.