← All palettes

Night Shift

Long sessions

Evening reading modes; the warm tilt is the point, not a defect.

Click a swatch to copy its hex.

Do not use this for

Colour-critical work — everything is being pulled toward amber.

What was measured

Closest neighbours
ΔE00 11.5
how alike two adjacent swatches look
Darkest to lightest
7.89:1
WCAG contrast across the set
Lightness covered
54 pts
of OKLCH lightness, 0–100
Under colour blindness
ΔE00 10.1
worst under protanopia

These two are one colour to a reader with protanopia. Fine while the set is read as an order; never use them to mean two different things without a label or an icon as well.

A suggested mapping · derived, then measured

Five colours are not an interface, so this is an offer rather than a token set. It clears WCAG AA as it stands.

/* Night Shift — Evening reading modes; the warm tilt is the point, not a defect. */
:root {
  --palette-1: #240e15;
  --palette-2: #502a2d;
  --palette-3: #7b4d47;
  --palette-4: #9a796d;
  --palette-5: #b9a79b;

  /* A suggested mapping, not a token set. It clears WCAG AA as it stands. */
  --bg: #b9a79b;
  --text: #240e15;        /* 7.89:1 on --bg */
  --muted: #502a2d;      /* 5.3:1 on --bg */
  --accent: #7b4d47;     /* 3.03:1 on --bg */
  --accent-text: #ffffff;
}

Tailwind

// tailwind.config — Night Shift
export default {
  theme: {
    extend: {
      colors: {
        nightshift: {
        100: "#240e15",
        200: "#502a2d",
        300: "#7b4d47",
        400: "#9a796d",
        500: "#b9a79b",
        },
      },
    },
  },
};

For your coding agent · printed from the colours

Use the Night Shift palette: #240E15, #502A2D, #7B4D47, #9A796D, #B9A79B.

It is for this: Evening reading modes; the warm tilt is the point, not a defect.

Map it as ground #B9A79B, body text #240E15, secondary text #502A2D, and one accent #7B4D47 with #FFFFFF printed on it. Body text measures 7.89:1 against the ground and secondary text 5.3:1, so this mapping clears WCAG AA as it stands.

Do not use it for: Colour-critical work — everything is being pulled toward amber.

Do not add a sixth colour, do not tint the greys toward a second hue, and do not carry meaning on hue alone — once colour vision is taken away the closest two of these sit only 10.1 apart on the CIEDE2000 scale, which is too close to tell apart, so pair every coloured state with a label or an icon.

How this palette was built · no hex was chosen by hand

The catalog states a recipe — ramp from hue 28 — and the five colours are derived from it in OKLCH, where a step of lightness is a step your eye agrees with rather than one the hex numbers agree with. That is why the numbers above are properties of this palette rather than claims about it.

Others for the same job