#A7A962

Closest named color: Sage (#87AE73). oklch(71.7% 0.094 109.9), rgb(167, 169, 98).

Aa

Black text reads best on this color (8.49:1).

About this color

#A7A962 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.094 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Sage (#87AE73), ΔE 0.042 away. Black text reads best on it, at 8.49:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameSage (#87AE73)
Black text8.49:1
White text2.47:1

Values

HEX#A7A962
RGBrgb(167, 169, 98)
HSLhsl(62, 29%, 52%)
OKLCHoklch(71.7% 0.094 109.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A7A962 2.47:1 Fails Lc -53.6 Large or bold text, headings
Black text on #A7A962 8.49:1 AAA Lc 55.4 Large or bold text, headings
#A7A962 text on white 2.47:1 Fails Lc 48.6 Large or bold text, headings
#A7A962 text on black 8.49:1 AAA Lc -53.4 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EAEBDE

    oklch(93.6% 0.017 110.3)

  3. Step 200

    200

    #DADBC3

    oklch(88.4% 0.032 109)

  4. Step 300

    300

    #C2C499

    oklch(80.8% 0.058 109.8)

  5. Step 400

    400 (this color)

    #A7A962

    oklch(71.7% 0.094 109.9)

  6. Step 500

    500

    #8E8F2C

    oklch(63% 0.119 109.9)

  7. Step 600

    600

    #787900

    oklch(55.7% 0.122 110.4)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #444507

    oklch(37.7% 0.078 110.6)

  11. Step 950

    950

    #282808

    oklch(26.9% 0.049 109.3)

Export this scale for Tailwind in the Tailwind colors tool

#A7A962 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B3A35C0.021
Deuteranopia (no green cones)#B4A6650.021
Tritanopia (no blue cones)#B0A1980.084
Achromatopsia (no color)#A5A5A50.094

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A7A962

    #A7A962

    oklch(71.7% 0.094 109.9)

  • #A29ADB

    #A29ADB

    oklch(71.7% 0.094 289.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7A962

    #A7A962

    oklch(71.7% 0.094 109.9)

  • #C29D5D

    #C29D5D

    oklch(71.6% 0.093 80.1)

  • #84B27A

    #84B27A

    oklch(71.6% 0.093 140)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A7A962

    #A7A962

    oklch(71.7% 0.094 109.9)

  • #81A5DE

    #81A5DE

    oklch(71.7% 0.093 259.4)

  • #BE91C8

    #BE91C8

    oklch(71.8% 0.093 320.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7A962

    #A7A962

    oklch(71.7% 0.094 109.9)

  • #60AFD3

    #60AFD3

    oklch(71.7% 0.094 229.6)

  • #D08BAC

    #D08BAC

    oklch(71.6% 0.094 349.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7A962

    #A7A962

    oklch(71.7% 0.094 109.9)

  • #50B5BB

    #50B5BB

    oklch(71.6% 0.094 200.6)

  • #A29ADB

    #A29ADB

    oklch(71.7% 0.094 289.4)

  • #D88C8B

    #D88C8B

    oklch(71.7% 0.093 20.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A7A962, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A7A962 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.