#A5A562

Closest named color: Sage (#87AE73). oklch(70.6% 0.089 108.5), rgb(165, 165, 98).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameSage (#87AE73)
Black text8.15:1
White text2.57:1

Values

HEX#A5A562
RGBrgb(165, 165, 98)
HSLhsl(60, 27%, 52%)
OKLCHoklch(70.6% 0.089 108.5)

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 #A5A562 2.57:1 Fails Lc -55.4 Large or bold text, headings
Black text on #A5A562 8.15:1 AAA Lc 53.7 Large or bold text, headings
#A5A562 text on white 2.57:1 Fails Lc 50.3 Large or bold text, headings
#A5A562 text on black 8.15:1 AAA Lc -51.6 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

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC4

    oklch(88.4% 0.031 109)

  4. Step 300

    300

    #C3C49B

    oklch(80.9% 0.055 108.7)

  5. Step 400

    400 (this color)

    #A5A562

    oklch(70.6% 0.089 108.5)

  6. Step 500

    500

    #908E32

    oklch(63% 0.113 108)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #45440C

    oklch(37.6% 0.074 108.4)

  11. Step 950

    950

    #28280A

    oklch(26.9% 0.047 109.2)

Export this scale for Tailwind in the Tailwind colors tool

#A5A562 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)#AFA05D0.018
Deuteranopia (no green cones)#B0A3650.018
Tritanopia (no blue cones)#AE9D950.080
Achromatopsia (no color)#A1A1A10.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5A562

    #A5A562

    oklch(70.6% 0.089 108.5)

  • #9E98D5

    #9E98D5

    oklch(70.7% 0.088 288.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5A562

    #A5A562

    oklch(70.6% 0.089 108.5)

  • #BF9A5F

    #BF9A5F

    oklch(70.7% 0.089 78.2)

  • #85AE78

    #85AE78

    oklch(70.7% 0.088 138.3)

Open the analogous palette in the generator

Split complementary

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

  • #A5A562

    #A5A562

    oklch(70.6% 0.089 108.5)

  • #7EA2D8

    #7EA2D8

    oklch(70.6% 0.089 258.3)

  • #B88FC4

    #B88FC4

    oklch(70.7% 0.088 318.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5A562

    #A5A562

    oklch(70.6% 0.089 108.5)

  • #60ABCC

    #60ABCC

    oklch(70.5% 0.089 228.5)

  • #CA8AAA

    #CA8AAA

    oklch(70.7% 0.088 348.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5A562

    #A5A562

    oklch(70.6% 0.089 108.5)

  • #53B1B5

    #53B1B5

    oklch(70.5% 0.089 199.1)

  • #9E98D5

    #9E98D5

    oklch(70.7% 0.088 288.4)

  • #D28A8B

    #D28A8B

    oklch(70.7% 0.088 18.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A5A562 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.