Skip to content

An earth-tone shop card

Use the dark green as product text on cream. Bronze and ochre are accents to test separately for price labels and buttons.

Colors and palette cases

Editorial example reviewed September 13, 2026. Numeric results below are calculated from these values.

Nearest reference name

Charcoal

RGB 96, 108, 56

Explore color

Nearest reference name

Gunmetal

RGB 40, 54, 24

Explore color

Nearest reference name

Beige

RGB 254, 250, 224

Explore color

Nearest reference name

Salmon

RGB 221, 161, 94

Explore color

Nearest reference name

Ochre

RGB 188, 108, 37

Explore color

Assign roles and check the pair

The lightest and darkest supplied values are the starting reading pair. The accent label adds black or white, whichever has greater contrast. You can change the accent below.

A palette in context

Use this preview to inspect reading text and an accent label.

Example action

Reading text #283618 on #FEFAE0: 12.240:1 - Pass normal text AA.

Accent label #FFFFFF on #606C38: 5.676:1.

Checks use unrounded ratios and opaque sRGB. The example action is a visual sample. Test boundaries, focus and hover in your actual component.

All color pairs: normal text AA
:root {
  --surface: #FEFAE0;
  --text: #283618;
  --accent: #606C38;
  --on-accent: #FFFFFF;
}

Keep the scope of each result clear

All comparisons use opaque sRGB and WCAG relative luminance. Normal-text AA requires 4.5:1; a displayed rounded ratio never overrides the unrounded pass or fail. A palette is not a complete accessibility audit.

W3C contrast requirements ? Methods and limitations ? Turn values into semantic tokens