#A5BA17

Closest named color: Pea (#A4BF20). oklch(74.7% 0.169 117.7), rgb(165, 186, 23).

Aa

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

About this color

#A5BA17 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.169 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.013 away. Black text reads best on it, at 9.63:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.169)
Temperaturein between
Nearest namePea (#A4BF20)
Black text9.63:1
White text2.17:1

Values

HEX#A5BA17
RGBrgb(165, 186, 23)
HSLhsl(68, 78%, 41%)
OKLCHoklch(74.7% 0.169 117.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 #A5BA17 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #A5BA17 9.63:1 AAA Lc 61.3 Content text, not long reading
#A5BA17 text on white 2.17:1 Fails Lc 42.7 Non-text elements, placeholder text
#A5BA17 text on black 9.63:1 AAA Lc -59.5 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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100

    #E8EDD6

    oklch(93.6% 0.031 117)

  3. Step 200

    200

    #D5DFB3

    oklch(88.5% 0.059 118)

  4. Step 300

    300

    #BBCA7A

    oklch(80.9% 0.105 117.5)

  5. Step 400

    400 (this color)

    #A5BA17

    oklch(74.7% 0.169 117.7)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5600

    oklch(42.8% 0.1 117.9)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#A5BA17 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)#C7AF000.053
Deuteranopia (no green cones)#C5B02C0.055
Tritanopia (no blue cones)#B0AF9E0.146
Achromatopsia (no color)#B0B0B00.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5BA17

    #A5BA17

    oklch(74.7% 0.169 117.7)

  • #B996FF

    #B996FF

    oklch(74.7% 0.151 298)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5BA17

    #A5BA17

    oklch(74.7% 0.169 117.7)

  • #D5A600

    #D5A600

    oklch(74.7% 0.153 88.2)

  • #54C96C

    #54C96C

    oklch(74.7% 0.168 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #A5BA17

    #A5BA17

    oklch(74.7% 0.169 117.7)

  • #89A9FF

    #89A9FF

    oklch(74.6% 0.13 267.7)

  • #E483E3

    #E483E3

    oklch(74.7% 0.168 327.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5BA17

    #A5BA17

    oklch(74.7% 0.169 117.7)

  • #35B9FF

    #35B9FF

    oklch(74.7% 0.149 237.6)

  • #FE7AAD

    #FE7AAD

    oklch(74.6% 0.168 357.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5BA17

    #A5BA17

    oklch(74.7% 0.169 117.7)

  • #00C3D7

    #00C3D7

    oklch(74.7% 0.128 207.8)

  • #B996FF

    #B996FF

    oklch(74.7% 0.151 298)

  • #FF8376

    #FF8376

    oklch(74.7% 0.153 27.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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