#A5A508

Closest named color: Pea Soup Green (#94A617). oklch(69.9% 0.151 109.7), rgb(165, 165, 8).

Aa

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

About this color

#A5A508 is a medium-light, vivid yellow. In OKLCH its lightness is 70%, its chroma 0.151 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup Green (#94A617), ΔE 0.023 away. Black text reads best on it, at 7.98:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromavivid (0.151)
Temperaturewarm
Nearest namePea Soup Green (#94A617)
Black text7.98:1
White text2.62:1

Values

HEX#A5A508
RGBrgb(165, 165, 8)
HSLhsl(60, 91%, 34%)
OKLCHoklch(69.9% 0.151 109.7)

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 #A5A508 2.62:1 Fails Lc -56.2 Large or bold text, headings
Black text on #A5A508 7.98:1 AAA Lc 52.9 Large or bold text, headings
#A5A508 text on white 2.62:1 Fails Lc 51.1 Large or bold text, headings
#A5A508 text on black 7.98:1 AAA Lc -50.8 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

    #F6F6ED

    oklch(97.1% 0.012 106.6)

  2. Step 100

    100

    #EBECD7

    oklch(93.7% 0.028 109.1)

  3. Step 200

    200

    #DBDDB5

    oklch(88.6% 0.053 109.8)

  4. Step 300

    300

    #C4C67E

    oklch(80.8% 0.094 109.7)

  5. Step 400

    400 (this color)

    #A5A508

    oklch(69.9% 0.151 109.7)

  6. Step 500

    500

    #909000

    oklch(63.2% 0.138 109.8)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  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

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292900

    oklch(27.2% 0.059 109.8)

Export this scale for Tailwind in the Tailwind colors tool

#A5A508 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)#B39D000.028
Deuteranopia (no green cones)#B5A11F0.029
Tritanopia (no blue cones)#B29A8C0.135
Achromatopsia (no color)#A0A0A00.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5A508

    #A5A508

    oklch(69.9% 0.151 109.7)

  • #9D8CF5

    #9D8CF5

    oklch(70% 0.151 289.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5A508

    #A5A508

    oklch(69.9% 0.151 109.7)

  • #CD9200

    #CD9200

    oklch(69.9% 0.145 79.8)

  • #68B455

    #68B455

    oklch(69.9% 0.151 139.6)

Open the analogous palette in the generator

Split complementary

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

  • #A5A508

    #A5A508

    oklch(69.9% 0.151 109.7)

  • #649DFB

    #649DFB

    oklch(69.9% 0.151 259.9)

  • #C77DD8

    #C77DD8

    oklch(70% 0.15 319.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5A508

    #A5A508

    oklch(69.9% 0.151 109.7)

  • #00ADE3

    #00ADE3

    oklch(70% 0.139 229.6)

  • #E273AC

    #E273AC

    oklch(70% 0.152 349.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5A508

    #A5A508

    oklch(69.9% 0.151 109.7)

  • #00B4BB

    #00B4BB

    oklch(70% 0.119 199.7)

  • #9D8CF5

    #9D8CF5

    oklch(70% 0.151 289.3)

  • #ED7377

    #ED7377

    oklch(69.9% 0.151 19.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A5A508.

Similar named colors

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

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